Skip to content

Commit 2f2ae38

Browse files
authored
Merge pull request #57 from judemanutd/features/cors-update
updated cors config for prod
2 parents a9fc7b1 + 09fb1cf commit 2f2ae38

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)