Skip to content

Settings do not save when NodeBB URL is within a directory #157

@jtaylor69

Description

@jtaylor69

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.

$.get('/api/admin/plugins/calendar/save', { settings: JSON.stringify(settings) }, function () {

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions