Skip to content

Commit

Permalink
change socket.io to custom path (#35)
Browse files Browse the repository at this point in the history
* change socket.io to custom path

* bump version to 1.2.1
  • Loading branch information
EverettSummer authored Jan 15, 2023
1 parent 4730a82 commit 46c383e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mira-video-manager",
"version": "1.2.0",
"version": "1.2.1",
"description": "Video Process for mira project",
"main": "index.js",
"scripts": {
Expand Down
5 changes: 3 additions & 2 deletions src/api-service/bootstrap.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2022 IROHA LAB
* Copyright 2023 IROHA LAB
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -80,7 +80,8 @@ export function bootstrap(container: Container, startAs: string): HttpServer {
const io = new SocketIOServer(server, {
cors: {
origin: 'http://localhost:3000'
}
},
path: '/rt-log/'
});
const iss = new InversifySocketServer(container, io);
iss.build();
Expand Down

0 comments on commit 46c383e

Please sign in to comment.