BaseURI to support OwnTracks not running at domain root #4
Labels
Priority: High
Do it soon
Status: Done
Feature has been implemented, bug fixed, question answered etc.
Type: Enhancement
Improve something that's already there
Milestone
This is amazing...SOOO much nicer than having to remember the custom URL scheme to filter data in the default recorder! :)
Just one issue: in my setup, I use a reverse proxy to serve the recorder under a subpath of the domain (i.e. https://domain.com/owntracks). Although the default UI works, this retrieves no data.
The fix is easy: prepend all the '/api/...' URLs in static/main.js with a baseURI.
The text was updated successfully, but these errors were encountered: