Open mkahvi opened 2 months ago
What O/S is the server running on?
Win11, that doesn't matter for route prefix problem.
Also seen here with the panicked with the image path being broken due to it:
^ I can fix that by removing the initial slash from the image path. But needing to fix it every time is not great.
I have tested V3.1.8 on my Win 11 system (running node.js) and am not seeing an issue. The image paths are valid as per Foundry VTT: /systems/alienrpg/images/panic.webp
I am not sure where myRoutePrefix is coming from on your installation?
Just to make you aware I am not making any updates or changes to V3.1.8.
Ref: https://foundryvtt.com/article/configuration/
Fill in routePrefix in options.json
and use the electron client to easily test how route prefix changes things.
OK. I am on the same page now. I have corrected this in the next version but that will only support FVTT V12 I am afraid.
Thank you for bringing it to my attention.
For example:
When it should be trying to access
Problem is caused by starting paths with slash, forcing them to exit the route prefix scope.
So the asset path is defined as
/systems/alienrpg/images/IndBackground3.png
When it should be
systems/alienrpg/images/IndBackground3.png
Though this one since this is in CSS, it needs to be relative to the CSS file
Tested on version 3.1.8 since I can't update to Foundry v12 yet.