🎨 change default port to 1000 + CORS
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { NextFunction, Request, Response } from "express";
|
||||
|
||||
// TODO: config settings
|
||||
|
||||
export function CORS(req: Request, res: Response, next: NextFunction) {
|
||||
res.set("Access-Control-Allow-Origin", "*");
|
||||
}
|
||||
Reference in New Issue
Block a user