Closed MrPrimate closed 1 year ago
If Foundry is running at a subpath then the modules/torch/sources.json won't load as the fetch assumes Foundry is running at root. This was the cause of the problems I experienced in #23
modules/torch/sources.json
e.g. I run my game at https://mydnd-game.example.om/foundry so the file should be fetched from https://mydnd-game.example.om/foundry/modules/torch/sources.json but the initial slash in the fetch results in an attempt from https://mydnd-game.example.om/modules/torch/sources.json which fails.
Ah, okay, I’ll look into this and adjust accordingly. Thanks for doing the legwork. I love it when i get PRs.
Thanks! Double-checked it tonight. Looks good. I'll get a release out in the morning.
If Foundry is running at a subpath then the
modules/torch/sources.json
won't load as the fetch assumes Foundry is running at root. This was the cause of the problems I experienced in #23e.g. I run my game at https://mydnd-game.example.om/foundry so the file should be fetched from https://mydnd-game.example.om/foundry/modules/torch/sources.json but the initial slash in the fetch results in an attempt from https://mydnd-game.example.om/modules/torch/sources.json which fails.