GrammaticalFramework / gf-core

Grammatical Framework core: compiler, shell & runtimes
https://www.grammaticalframework.org
Other
129 stars 35 forks source link

minibar web application fails to load at local server #155

Open Saibo-creator opened 1 year ago

Saibo-creator commented 1 year ago

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 : )