Skip to content

Commit 4ef4ae7

Browse files
committed
trying again to restrict cors
1 parent f6f462e commit 4ef4ae7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

functions/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import * as express from "express";
1515
// https://firebase.google.com/docs/functions/typescript
1616

1717
export const helloWorld = onRequest(
18-
{cors: true},
18+
{cors: [/things-to-complete\.web\.app/]},
1919
(request: express.Request, response: express.Response) => {
2020
logger.info("Hello logs!", {structuredData: true});
2121
response

0 commit comments

Comments
 (0)