This website works better with JavaScript.
Home
Explore
Help
Sign In
shankhadeep.dey
/
realtime-voicecall-backend
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
orgin changes
tipoff-server
Ramprasad
1 month ago
parent
599d1c4473
commit
df52512cad
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
src/index.ts
+ 3
- 1
src/index.ts
View File
@ -16,7 +16,9 @@ import {
const
app
=
express
(
)
;
// Set up CORS middleware for Express
app
.
use
(
cors
(
)
)
;
app
.
use
(
cors
(
{
origin
:
"*"
,
}
)
)
;
// Create an HTTP server
const
httpServer
:
HTTPServer
=
createServer
(
app
)
;
Write
Preview
Loading…
Cancel
Save