You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create a WebDAV based server that doesn't listen on the root and therefore I need a baseUri when setting up the server.
In doing so I noticed that the baseUri gets overwritten afterwards through this line in server.js
this.setBaseUri(this.guessBaseUri());
This will always set the baseUri to /
I was able to fix this by adding this line
if (!options.baseUri)
this.setBaseUri(this.guessBaseUri());
This causes the baseUri guessing only to happen when there wan't an explicit one set.
This of course is just a suggestion. :)
Can this please be fixed ?
The text was updated successfully, but these errors were encountered:
I am trying to create a WebDAV based server that doesn't listen on the root and therefore I need a baseUri when setting up the server.
In doing so I noticed that the baseUri gets overwritten afterwards through this line in server.js
this.setBaseUri(this.guessBaseUri());
This will always set the baseUri to /
I was able to fix this by adding this line
if (!options.baseUri)
this.setBaseUri(this.guessBaseUri());
This causes the baseUri guessing only to happen when there wan't an explicit one set.
This of course is just a suggestion. :)
Can this please be fixed ?
The text was updated successfully, but these errors were encountered: