Open eldoy opened 1 year ago
In this example I want to override the config for a script. What's the best solution to this?
For every API we can have a single file, or we can include the environment files as well in app.config.production.woo?
app.config.production.woo
At the moment conficurse overwrites and merges, so the original config is not intact.
var { base, key, secret } = app.config.woo var auth = { consumer_key: key, consumer_secret: secret } // Override base: // base = 'https://safedrive.no/wp-json/wc/v3' // console.log({ base })
In this example I want to override the config for a script. What's the best solution to this?
For every API we can have a single file, or we can include the environment files as well in
app.config.production.woo
?At the moment conficurse overwrites and merges, so the original config is not intact.