orgin changes
This commit is contained in:
parent
599d1c4473
commit
df52512cad
@ -16,7 +16,9 @@ import {
|
|||||||
const app = express();
|
const app = express();
|
||||||
|
|
||||||
// Set up CORS middleware for Express
|
// Set up CORS middleware for Express
|
||||||
app.use(cors());
|
app.use(cors({
|
||||||
|
origin: "*",
|
||||||
|
}));
|
||||||
|
|
||||||
// Create an HTTP server
|
// Create an HTTP server
|
||||||
const httpServer: HTTPServer = createServer(app);
|
const httpServer: HTTPServer = createServer(app);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user