mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 07:37:11 +01:00
Add force SSL check.
This commit is contained in:
parent
fc22f5969c
commit
4cafa68e23
4 changed files with 18 additions and 4 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue