external resources issue
Closed this issue · 1 comments
Adamlixi commented
elainemckinley commented
Hi!
Here's the docs around patchUrlMappings if you haven't seen them: https://discord.com/developers/docs/activities/development-guides#using-external-resources
Basically, if you have control over the URL yourself (as you do) you'll want to just use the URL you set up in mappings directly. You won't even have to use patchUrlMappings
since you can address the proxy directly instead.
patchUrlMappings
only exists in case you didn't have the code to address the proxied URL yourself (i.e. if it came from a third-party library).
Feel free to reopen in case this doesn't answer the question. Thanks!