Serve different version of static file based on the environment #14207
Unanswered
aureabelle
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone! I wanted to ask if there's a way to serve different versions of a static file based on the environment. So I have a static json file on my /public/ directory. Now we need a different version of this json file when it's on production and another version when it's on staging.
Is there way to make this possible? Any help would be appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions