Fix web root path confusion

Remove basename in favor of making webRoot absolute.  The distinction
between the two were supposed to be that basename was absolute and did
not have a trailing slash while webRoot was relative and had a traling
slash.  This was not how it ended up working in the code, which lead to
double forward slashes in requests sent out when webRoot was not equal
to './'.
This commit is contained in:
Hornwitser committed 2021-03-17 17:59:35 +01:00
1 parent ceae2b25b5
commit bd53339532
7 files changed
+6 -17

No files matched your search

-1
View File
@@ -1,4 +1,3 @@
export { default as basename } from "./basename.jsx";
export { default as bootstrap } from "./bootstrap.jsx";
export { default as notify, notifyErrorHandler } from "./util/notify.jsx";