19 lines
555 B
JavaScript
19 lines
555 B
JavaScript
const coretool = require('wo-core-toolkit')
|
|
|
|
module.exports = {
|
|
webProtocol: inProd ? 'httpall' : 'http',
|
|
webHostname: inProd ? 'vic-user.bittic.org' : 'localhost',
|
|
webPort: inProd ? undefined : coretool.BASEPORT_WEB_SERVER + 338,
|
|
webRoot: 'dist',
|
|
webSsl: inProd
|
|
? {
|
|
type: 'file', // greenlock or file
|
|
file: {
|
|
key: './ssl/privkey.pem', // ssl key file,
|
|
cert: './ssl/fullchain.pem', // ssl cert file,
|
|
ca: './ssl/chain.pem', // ssl ca file,
|
|
},
|
|
}
|
|
: undefined,
|
|
}
|