mcavallo / foundry-vtt-wfrp4e-more-subspecies

This module adds a collection of new homebrew subspecies to choose from in the WFRP4E character generation
https://foundryvtt.com/packages/wfrp4e-more-subspecies
GNU General Public License v3.0
0 stars 1 forks source link

module doesn't work when Foundry uses routePrefix #22

Closed grz0 closed 7 months ago

grz0 commented 7 months ago

It makes a request to http://serverIP/modules/wfrp4e-more-subspecies/data/somedata.json but it should to http://serverIP/routePrefix_here/modules/wfrp4e-more-subspecies/data/somedata.json Looks like a bug in fetchModuleData() function: https://github.com/mcavallo/foundry-vtt-wfrp4e-more-subspecies/blob/4c92056bd1bb0ac4d0afe19d042f0d1a480c89b4/src/lib/utils.js#L84

mcavallo commented 7 months ago

Hi @grz0, thank you for reporting. I'll get a patch out a soon as I can!

mcavallo commented 7 months ago

@grz0 I just released a new version that addresses the problem. Please update and let me know if things work on your end!

I'll leave this issue open for a few days.

grz0 commented 7 months ago

The problem is fixed in the new version. Thank you!

mcavallo commented 7 months ago

Awesome! Thank you for the detailed bug report ❤️