I built a web version of my app using
expo web and
react-navigation , and I am serving it using
Django . I managed to make everything work when I go on
mywebsite.com and navigate around.
However, if I load my website directly on
mywebsite.com/OTHER/PAGE , this piece of code fails:
after some investigation, I found out that instead of loading this asset:
it tries to load that one (that doesn’t exist):
How can I tell it to only use
http://mywebsite.com/ as a base URI when loading assets?