Skip to content

Commit 09fb1cf

Browse files
committed
updated cors config for prod
1 parent a9fc7b1 commit 09fb1cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const app: Application = express();
1515
const config = functions.config();
1616
const env = config.ecosystem.env;
1717

18-
const whitelist = ["https://admin-portfolio.octalogic.in/"];
18+
const whitelist = ["https://portfolio-panel.octalogic.in/"];
1919
const corsOptions = {
2020
origin: (origin: string, callback: (arg0: Error, arg1: boolean) => void) => {
2121
if (whitelist.includes(origin)) {

0 commit comments

Comments
 (0)