Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Running foundry with prefix gives 404 on some resources #169

Open
Rohendor opened this issue Nov 11, 2024 · 0 comments
Open

[BUG] Running foundry with prefix gives 404 on some resources #169

Rohendor opened this issue Nov 11, 2024 · 0 comments
Assignees

Comments

@Rohendor
Copy link

Hi everyone,
I have a Foundry instance running behind a domain with a URL prefix, such as http://domain.com/fabula/join. Most resources are loaded correctly, as the server appends the fabula prefix to resources path. However, some resources fail to load as the prefix is not inserted in the URL call. This seems to happen when loading resources in the "/systems/projectfu/styles/*" folder by the script "/fabula/systems/projectfu/styles/css/projectfu.css" (Which itself is loaded correclty)
The files themselves exist in the filesystem, and if the prefix (fabula) is manually added to the resource URL, they are accessible. For example, changing the not working URL: "domain.com/systems/projectfu/styles/static/compendium/ui/coins_5.png" to be "domain.com/fabula/systems/projectfu/styles/static/compendium/ui/coins_5.png" allows the file to be downloaded.

To Reproduce
Expose a foundry instance running the Fabula-Ultima system using a prefix

Expected behavior
It should load the resources correctly by taking into account the prefix

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants