Skip to content

Conversation

greinacker
Copy link

The plugins-server only seems to work when mounted at the root of a domain; e.g., example.com.

Due to my hosting situation, I needed to mount it at a sub-path, for example:

example.com/path/to/plugins/

This change allows that to happen. To use it, set an environment variable called MOUNT_PATH; in my example, you'd set

MOUNT_PATH=/path/to/plugins

If you omit this new variable, there will be no change to the behavior, and everything will work as it has before.

Hopefully you don't mind the unsolicited PR out of the blue...I would have asked about it beforehand, but I already had the code changes done, so I figured I'd save a step and just submit it. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant