Toggle navigation
Toggle navigation
This project
Loading...
Sign in
강동현
/
nodejs-game
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Overnap
2021-06-08 06:36:44 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fab98c871c453155fb1743bdb8c7d15e0deede23
fab98c87
1 parent
a79c2042
Builds for 1 pipeline
failed
in 1 minute 19 seconds
CORS의 origin을 임시로 와일드카드로 설정
Changes
1
Builds
3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
server/Server.ts
server/Server.ts
View file @
fab98c8
...
...
@@ -14,7 +14,11 @@ export class Server {
const
app
=
express
();
const
server
=
createServer
(
app
);
this
.
io
=
new
socketIo
.
Server
(
server
);
this
.
io
=
new
socketIo
.
Server
(
server
,
{
cors
:
{
origin
:
'*'
}
});
const
roomManager
=
new
RoomManager
();
...
...
Please
register
or
login
to post a comment