Add force SSL check.
This commit is contained in:
1 parent
fc22f5969c
commit
4cafa68e23
4 files changed
+18
-4
No files matched your search
+1
-3
@@ -4,9 +4,7 @@ const pkg = require('./package.json');
|
||||
module.exports = {
|
||||
env: {
|
||||
VERSION: pkg.version,
|
||||
},
|
||||
serverRuntimeConfig: {
|
||||
PROJECT_ROOT: __dirname,
|
||||
FORCE_SSL: !!process.env.FORCE_SSL,
|
||||
},
|
||||
webpack(config) {
|
||||
config.module.rules.push({
|
||||
|
||||
Reference in new issue
Block a user