How Are You Using Foundry: Chrome and Firefox over Webserver
Which Game System: DnD5e 1.6.3
Modules Enabled?: yes: Better Rolls for 5e, Actually private Rolls
Issue Description
When using a reverse Proxy with Foundryvtt, the SVGs of Skillchecks like "Insight" can't be loaded, because of the chat-portrait module ignoring the "routePrefix" option in the options.json. This results in the resource getting requested at the wrong uri.
Example
If the domain is "www.foundryserver.com" the proxy takes all requests to the address "http://www.foundryserver.com/server1" and routes them to "localhost:30000".
The corresponding options.json needs to have the proxyPort, hostname and routePrefix set. In this example the routePrefix would be "server1".
Here is an comparison when rolling an insight check and chat-portrait is trying to load the "insight.svg" resource:
Environment Details
Issue Description
When using a reverse Proxy with Foundryvtt, the SVGs of Skillchecks like "Insight" can't be loaded, because of the chat-portrait module ignoring the "routePrefix" option in the options.json. This results in the resource getting requested at the wrong uri.
Example
If the domain is "www.foundryserver.com" the proxy takes all requests to the address "http://www.foundryserver.com/server1" and routes them to "localhost:30000". The corresponding options.json needs to have the proxyPort, hostname and routePrefix set. In this example the routePrefix would be "server1". Here is an comparison when rolling an insight check and chat-portrait is trying to load the "insight.svg" resource:
The chat-portrait module should include the "routePrefix" option from the options.json into their request-Strings.