Skip to content
Snippets Groups Projects

axios base url and vuex strict mode dependant on NODE_ENV

Merged robinwilliam.hundt requested to merge dynamic-api-host into master
2 files
+ 10
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -30,7 +30,7 @@ export const persistedStateKey = 'grady'
@@ -30,7 +30,7 @@ export const persistedStateKey = 'grady'
const store = new Vuex.Store({
const store = new Vuex.Store({
// TODO only enable this in dev and not in deployment (use env variable)
// TODO only enable this in dev and not in deployment (use env variable)
strict: true,
strict: process.env.NODE_ENV === 'development',
modules: {
modules: {
authentication,
authentication,
studentPage,
studentPage,
Loading