diff --git a/src/server.ts b/src/server.ts index 3e2d3a8..6a390a5 100644 --- a/src/server.ts +++ b/src/server.ts @@ -27,7 +27,9 @@ export class Server { */ constructor() { this.app = express() - this.app.use(cors()) + this.app.use(cors({ + origin: 'https://sylvan.quest' + })) this.app.use(express.json()) this.app.use(express.urlencoded({ extended: true })) this.http = httpServer(this.app)