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
Hi,
I need to access my app through a long subpath (https://server/p1/p2/app/index.html). The subpath is known, but I want to make the application independent from the specific value.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I need to access my app through a long subpath (https://server/p1/p2/app/index.html). The subpath is known, but I want to make the application independent from the specific value.
What works for now:
vite.config.ts:
routes.ts:
But this is obviously bad - since it's static and build time.
Edit: Well, it only works for the start page. Other routes below cannot be found (404). :-(
How could this be more general/flexible?
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions