This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Description
The example in the README shows:
module.exports = {
command: 'npm run start',
basePath: '/myservice',
}
However, this will not work due to this piece of code:
|
url = `${protocol}:${host}:${port}${basePath ? `/${basePath}` : ''}` |
With these two combined, there will be a double-slash inserted, which does not work.
I recommend that the code gets updated (instead of the docs). It is more common to specify a slash in front of a basePath than not. Alternatively, you do a check in the code to see if basePath starts with a slash or not and then act accordingly.