feat: check for updates
This commit is contained in:
1 parent
959f2ebde1
commit
63c044a09b
13 files changed
+95
-15
No files matched your search
@@ -52,9 +52,12 @@ module.exports = {
|
||||
appconfig.port = process.env.PORT || 80
|
||||
}
|
||||
|
||||
const packageInfo = require(path.join(WIKI.ROOTPATH, 'package.json'))
|
||||
|
||||
WIKI.config = appconfig
|
||||
WIKI.data = appdata
|
||||
WIKI.version = require(path.join(WIKI.ROOTPATH, 'package.json')).version
|
||||
WIKI.version = packageInfo.version
|
||||
WIKI.releaseDate = packageInfo.releaseDate
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user