We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ef4ae7 commit 49f764cCopy full SHA for 49f764c
1 file changed
functions/src/index.ts
@@ -1,19 +1,7 @@
1
-/**
2
- * Import function triggers from their respective submodules:
3
- *
4
- * import {onCall} from "firebase-functions/v2/https";
5
- * import {onDocumentWritten} from "firebase-functions/v2/firestore";
6
7
- * See a full list of supported triggers at https://firebase.google.com/docs/functions
8
- */
9
-
10
import {onRequest} from "firebase-functions/v2/https";
11
import * as logger from "firebase-functions/logger";
12
import * as express from "express";
13
14
-// Start writing functions
15
-// https://firebase.google.com/docs/functions/typescript
16
17
export const helloWorld = onRequest(
18
{cors: [/things-to-complete\.web\.app/]},
19
(request: express.Request, response: express.Response) => {
0 commit comments