cooking with websockets
This commit is contained in:
@@ -9,7 +9,7 @@ const port = env.PORT || 5001;
|
||||
const app = new Elysia()
|
||||
.use(
|
||||
cors({
|
||||
origin: ["localhost:3000", "games.drm.dev"],
|
||||
origin: ["http://localhost:3000", "https://games.drm.dev"],
|
||||
})
|
||||
)
|
||||
.onRequest(({ request }) => {
|
||||
|
||||
Reference in New Issue
Block a user