-
-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Description
Hi! I ran into this same issue. It is not always convenient that all files are stored in a static folder, is there a way to change the folder, for example to "assets".
Discussed in #11194
Originally posted by Pixelatex July 8, 2021
We can set the public folder path using the PUBLIC_URL but I need to change the static folder path. (out of my control but the hosted domain is not the same as the on that is serving it... blame our backend fellas for this)
So it's currently trying to get the assets from mysite.com/static/js/chunk.2323.js
While actually it should get it from somethingcomplete.different.co.au/random/static/js/chunk.2323.js
So basically, I need to replace everything before the /static. And this also needs to be handled by an env file. Is this even possible?