mirror of
https://github.com/Xevion/the-office.git
synced 2025-12-08 22:08:51 -06:00
Add functions default code w/ helloWorld
This commit is contained in:
9
functions/src/index.ts
Normal file
9
functions/src/index.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import * as functions from "firebase-functions";
|
||||
|
||||
// // Start writing Firebase Functions
|
||||
// // https://firebase.google.com/docs/functions/typescript
|
||||
|
||||
export const helloWorld = functions.https.onRequest((request, response) => {
|
||||
functions.logger.info("Hello logs!", {structuredData: true});
|
||||
response.send("Hello from Firebase!");
|
||||
});
|
||||
Reference in New Issue
Block a user