mirror of
https://github.com/janishutz/MusicPlayer.git
synced 2026-09-10 14:25:24 +02:00
fix(backend): crashes due to logger and missing server-stubs files
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
||||
import devtoken from './routes/devtoken';
|
||||
import express from 'express';
|
||||
import fs from 'fs';
|
||||
import logger from './logger';
|
||||
import path from 'path';
|
||||
import room from './routes/room';
|
||||
import user from './routes/user';
|
||||
@@ -26,6 +27,8 @@ const run = () => {
|
||||
const storeSdk = getStoreSdk( foss );
|
||||
const app = express();
|
||||
|
||||
app.use( logger.routeLogging() );
|
||||
|
||||
// Load id.janishutz.com SDK and allow signing in
|
||||
sdk.setUp(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user