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
Describe the bug
When using foundry under a reverse proxy location, the gsap-core.js module is not loaded.
/scripts/greensock/esm/gsap-core.js
To Reproduce
Steps to reproduce the behavior:
Create a reverse proxy configuration using a location
Start foundry and enable the module in an empty world
Wait for reload
Now if you open the console you should get an error.
If i manually add the location name to the path, then the gsap.core.js is found.
exmaple (if i have foundry under /test location):
does not work: example.com/scripts/greensock/esm/gsap-core.js <-- this is what your modules looks for right now
works: example.com/test/scripts/greensock/esm/gsap-core.js
Expected behavior
Module settings are should be visible and notifications should work
Thanks for the bug report. When i finally get back to fixing this for 0.8.x i'll try to fix this.
As a reminder for me: Switch back to loading the gsap library using the module.json and not as esm module import. (I kinda forgot about doing that.. )
And for clarification: This is not a general reverse proxy issue, only when you put foundry behind a reverse proxy on a subdomain like your-domain.com/something instead of your-domain.com
Describe the bug
When using foundry under a reverse proxy location, the gsap-core.js module is not loaded.
/scripts/greensock/esm/gsap-core.js
To Reproduce
Steps to reproduce the behavior:
Now if you open the console you should get an error.
If i manually add the location name to the path, then the gsap.core.js is found.
exmaple (if i have foundry under /test location):
does not work: example.com/scripts/greensock/esm/gsap-core.js <-- this is what your modules looks for right now
works: example.com/test/scripts/greensock/esm/gsap-core.js
Expected behavior
Module settings are should be visible and notifications should work
Server:
Example Nginx config
If you need more info feel free to ask :)
The text was updated successfully, but these errors were encountered: