Closed bjones1 closed 3 years ago
I guess we should go back to the equivalent of
eBookConfig.ajaxURL again. eBookConfig.routePrefix maybe??
I did something pretty similar, so that this works with the /ns
prefix and without it.
My only Nitpicky comment about /ns
and new_server_prefix
is that soon enough it won't be the "new server" anymore. /bs
is maybe not a great prefix 🤪but maybe bks
would suffice?
Or.... here is a history question for you /obidos
. Do you even recognize that? Do you know its origin?
I definitely prefer /bks
to /ns
. No clue on /obidos
...
Would you like a PR to update this? It should only need fixing on the bookserver.
As long as we are in agreement, I will just add it to my next commit, or if you are in a position to be making changes before I do just let me know on slack.
Sounds good. I'll let you add it.
Add the /ns prefix to JS ajax queries.
TESTING ONLY: this doesn't work if the bookserver is running standalone, instead of under nginx. We need to think about some nice way to support both cases.