GrammaticalFramework/gf-core

minibar web application fails to load at local server

Saibo-creator opened this issue · 0 comments

Hello,
I try to use the GF server mode by gf -server and click the Minibar . Then I get the following error message:Request for undefined?command=grammar failed: 404 Not Found

Proposed fix

It seems the server fails to load grammar files, a solution I find is uncomment the line 4 and line 7 of https://github.com/GrammaticalFramework/gf-core/blob/master/src/www/minibar/minibar_online.js
So that the server could access grammars hosted on http://www.grammaticalframework.org/grammars/.

Do you think this should be fixed or is it an expected behavior ?

I will make a pull request and feel free and merge or declin it : )