Updated /.github/workflows/deploy.yml
This commit is contained in:
parent
bbf4bdf0ce
commit
a5a0179a6b
@ -37,7 +37,7 @@ const corsOptions: cors.CorsOptions = {
|
|||||||
origin: ["http://localhost:3100", "https://192.168.1.211:3100"],
|
origin: ["http://localhost:3100", "https://192.168.1.211:3100"],
|
||||||
methods: ["GET", "POST"]
|
methods: ["GET", "POST"]
|
||||||
};
|
};
|
||||||
APP.use(cors(corsOptions));
|
APP.use(cors());
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Apply middleware, this must be done before the routes are created.
|
* Apply middleware, this must be done before the routes are created.
|
||||||
|
|||||||
Reference in New Issue
Block a user