rename git.faronear.org
to git.tic.cc
This commit is contained in:
parent
fa9fd1a33a
commit
0bfceb637e
@ -22,8 +22,8 @@
|
||||
"morgan": "^1.9.0",
|
||||
"serve-favicon": "^2.5.0",
|
||||
"vhost": "^3.0.2",
|
||||
"wo-base-envar": "git+https://git.faronear.org/npm/wo-base-envar",
|
||||
"wo-core-toolkit": "git+https://git.faronear.org/npm/wo-core-toolkit"
|
||||
"wo-base-envar": "git+https://git.tic.cc/npm/wo-base-envar",
|
||||
"wo-core-toolkit": "git+https://git.tic.cc/npm/wo-core-toolkit"
|
||||
},
|
||||
"devDependencies": {
|
||||
"cross-env": "^7.0.2",
|
||||
|
@ -18,7 +18,7 @@ const wo = (global.wo = {
|
||||
webProtocol: process.env.NODE_ENV === 'production' ? 'httpall' : 'http',
|
||||
webHostname: process.env.NODE_ENV === 'production' ? 'unknownhost' : 'localhost',
|
||||
webPort: process.env.NODE_ENV === 'production' ? coretool.PORT_WEB_SERVER_DEV : undefined,
|
||||
webRoot: process.env.NODE_ENV === 'production' ? '_webroot' : '_webroot', // local path to serve as webroot. 'unpackage/dist/build/h5'
|
||||
webRoot: process.env.NODE_ENV === 'production' ? '_webroot' : 'unpackage/dist/build/web', // local path to serve as webroot. 'unpackage/dist/build/h5'
|
||||
webIndex: 'index.html',
|
||||
webSsl:
|
||||
process.env.NODE_ENV === 'production'
|
||||
@ -45,8 +45,7 @@ if (typeof wo.envar.webSsl === 'string') {
|
||||
wo.envar.webSsl = eval(`(${wo.envar.webSsl})`)
|
||||
}
|
||||
console.log({ _at: new Date().toJSON(), about: '******** Environment Variables ********', envar: JSON.parse(coretool.stringify_by_keyorder(wo.envar)) })
|
||||
|
||||
; (function serve () {
|
||||
;(function serve () {
|
||||
console.log({ _at: new Date().toJSON(), about: '★★★★★★★★ Starting Server ★★★★★★★★' })
|
||||
|
||||
const server = express()
|
||||
@ -209,4 +208,4 @@ console.log({ _at: new Date().toJSON(), about: '******** Environment Variables *
|
||||
}
|
||||
|
||||
return webServer
|
||||
})()
|
||||
})()
|
||||
|
Loading…
Reference in New Issue
Block a user