ricardo118 / grav-plugin-translator

MIT License
4 stars 0 forks source link

Not handling urls properly when grav is in a subdirectory #4

Open angusmcb opened 3 years ago

angusmcb commented 3 years ago

Apologies for so many issues in a row!

This is another URL problem. When on the editing page, the plugin sends requests to the wrong URL, presumably because my installation is in a sub-directory.

Sends request to:

http://localhost/translator/edit/task:translator.keep.alive

Should be one of these (I'm not sure which):

http://localhost/path/to/grav/translator/edit/task:translator.keep.alive http://localhost/path/to/grav/en/translator/edit/task:translator.keep.alive

There seems to be a similar problem with the emails send for approving / rejecting changes.