feat: browse page by ID

This commit is contained in:
NGPixel
2020-01-14 22:21:24 -05:00
parent e836a49776
commit b18dd29fa0
4 changed files with 42 additions and 2 deletions

View File

@@ -80,6 +80,12 @@ module.exports = async () => {
app.use(WIKI.auth.passport.initialize())
app.use(WIKI.auth.authenticate)
// ----------------------------------------
// GraphQL Server
// ----------------------------------------
await WIKI.servers.startGraphQL()
// ----------------------------------------
// SEO
// ----------------------------------------
@@ -173,7 +179,6 @@ module.exports = async () => {
// Start HTTP Server(s)
// ----------------------------------------
await WIKI.servers.startGraphQL()
await WIKI.servers.startHTTP()
if (WIKI.config.ssl.enabled === true || WIKI.config.ssl.enabled === 'true' || WIKI.config.ssl.enabled === 1 || WIKI.config.ssl.enabled === '1') {