Use relative paths#164
Conversation
…i18n, with Vite configured for relative asset paths.
|
Tested this against current master ( Two things would need to change before this is mergeable IMO: 1. Formatting churn (~70 of 158 changed lines). Several files were reformatted by what looks like a different editor config — the actual leading-slash removals are buried in unrelated whitespace changes:
Examples: 2. Backend note: Your PR description flags that the backend hasn't been tested against this change. The Happy to help with the formatting-revert if you'd like — or I can open a follow-up PR taking your commit and stripping the noise on top of current master, co-credited to you. |
Summary
I have refactored the codebase to use relative paths, which allows the application to be deployed in any subfolder (e.g., example.com/opentakserver/)
THE BACKEND HAS NOT BEEN TESTED OR FIXED AGAINST THIS CHANGE YET !!!
Key Changes Made:
#in the URL, making the app completely agnostic to its parent folder depth.Summary of modified files:
The application should now load correctly at example.com/opentakserver/ (or any other path) by simply pointing your document root to the appropriate folder.
Fixes #163