Skip to content

Commit 7dc72b4

Browse files
authored
Updated CORS for prod
1 parent 2f2ae38 commit 7dc72b4

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://portfolio-panel.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)