Skip to content

Commit

Permalink
fix(game-server): removing nonused cors in express server
Browse files Browse the repository at this point in the history
  • Loading branch information
rallieon committed Jul 1, 2021
1 parent e1656a3 commit 6280c51
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/haste-game-server/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import express from 'express';
import http from 'http';
import cors from 'cors';
import { Logger } from 'tslog';
import dotenv from 'dotenv';
import { SocketServer } from './server/socketServer';
Expand All @@ -10,7 +9,6 @@ const log: Logger = new Logger();
const port = process.env.PORT;

const app = express();
app.use(cors());

const server = http.createServer(app);
const socketServer = new SocketServer(server);
Expand Down

0 comments on commit 6280c51

Please sign in to comment.