Skip to content

Commit 0e50eaa

Browse files
committed
🐛 fix #2923
1 parent 913bfea commit 0e50eaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ async function start() {
3434
process.env.OWA_CLI = "true"
3535
spinner.start("Launching EASY API")
3636
setUpExpressApp();
37-
if(cliConfig.cors) await enableCORSRequests();
37+
if(cliConfig.cors) await enableCORSRequests(cliConfig);
3838
try {
3939
const { status, data } = await axios.post(`http://localhost:${PORT}/getConnectionState`);
4040
if (status === 200 && data.response === "CONNECTED") {

0 commit comments

Comments
 (0)