Added extra HTTP boilerplate allowing us to have endpoints in separated files
This commit is contained in:
@ -3,7 +3,7 @@ import express, { Application } from 'express'
|
||||
import config from './utilities/config'
|
||||
import { getAppPath } from './utilities/storage'
|
||||
import { createServer as httpServer, Server as HTTPServer } from 'http'
|
||||
import { addHttpRoutes } from './utilities/http'
|
||||
import { addHttpRoutes } from './http'
|
||||
import cors from 'cors'
|
||||
import { Server as SocketServer } from 'socket.io'
|
||||
import { Authentication } from './middleware/authentication'
|
||||
|
Reference in New Issue
Block a user