This commit is contained in:
parent
cf33e483f7
commit
7228e6d111
|
@ -51,9 +51,9 @@ app.use((req, res, next) => {
|
||||||
/**
|
/**
|
||||||
* Register modules
|
* Register modules
|
||||||
*/
|
*/
|
||||||
app.use('/api', require('./api/server'));
|
app.use('/api', require('./api'));
|
||||||
app.use('/files', require('./file/server'));
|
app.use('/files', require('./file'));
|
||||||
app.use(require('./web/server'));
|
app.use(require('./web'));
|
||||||
|
|
||||||
function createServer() {
|
function createServer() {
|
||||||
if (config.https) {
|
if (config.https) {
|
||||||
|
|
Loading…
Reference in New Issue