nodebb-plugin-calendar
nodebb-plugin-calendar copied to clipboard
Settings do not save when NodeBB URL is within a directory
As the following line is hardcoded to an absolute URL, the plugin settings cannot be saved as it tries to route to example.com/api/xx rather than example.com/forum/api/xx therefore the request fails.
https://github.com/pitaj/nodebb-plugin-calendar/blob/02de82029cc5450f046e2ee0196bea9bcc3da890/public/admin.js#L12
Can this be amended to return the forum URL in order to capture cases where the forum is either running on the root path or within a 'directory'?
Thanks, Jordan
Good catch. I'll try to get this fixed soon
Still an issue ! When can we expect having this resolved ? Thanks