New lottery.config property for setting api url.
This commit is contained in:
3
config/env/lottery.config.example.js
vendored
3
config/env/lottery.config.example.js
vendored
@@ -4,5 +4,6 @@ module.exports = {
|
|||||||
price: 10,
|
price: 10,
|
||||||
message: "VINLOTTERI",
|
message: "VINLOTTERI",
|
||||||
date: 5,
|
date: 5,
|
||||||
hours: 15
|
hours: 15,
|
||||||
|
apiUrl: undefined
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -78,6 +78,7 @@ const webpackConfig = function(isDev) {
|
|||||||
__MESSAGE__: JSON.stringify(env.message),
|
__MESSAGE__: JSON.stringify(env.message),
|
||||||
__DATE__: env.date,
|
__DATE__: env.date,
|
||||||
__HOURS__: env.hours,
|
__HOURS__: env.hours,
|
||||||
|
__APIURL__: JSON.stringify(env.apiUrl),
|
||||||
__PUSHENABLED__: JSON.stringify(require("./defaults/push") != false)
|
__PUSHENABLED__: JSON.stringify(require("./defaults/push") != false)
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user