minor updates

This commit is contained in:
msramalho
2025-03-17 12:38:43 +00:00
parent a81f048eec
commit ca542c1ebd
2 changed files with 2 additions and 4 deletions

View File

@@ -27,8 +27,8 @@ yarn lint
2. login to your firebase account with `firebase login` 2. login to your firebase account with `firebase login`
3. make sure you have access to the project `firebase projects:list` 3. make sure you have access to the project `firebase projects:list`
4. build `yarn build` and check with `yarn preview`, once all is good release `firebase deploy --only hosting` 4. build `yarn build` and check with `yarn preview`, once all is good release `firebase deploy --only hosting`
5. to update schedule functions `firebase deploy --only functions` currently these are disabled <!-- 5. to update schedule functions `firebase deploy --only functions` currently these are disabled
6. if you add any library to a function, install it inside the `/functions` folder and not in the root folder 6. if you add any library to a function, install it inside the `/functions` folder and not in the root folder -->
<!-- 7. to update secrets use `firebase functions:secrets:set SECRET_NAME` more info [here](https://firebase.google.com/docs/functions/config-env?gen=2nd#managing_secrets) --> <!-- 7. to update secrets use `firebase functions:secrets:set SECRET_NAME` more info [here](https://firebase.google.com/docs/functions/config-env?gen=2nd#managing_secrets) -->
<!-- 1. `API_SERVICE_PASSWORD` for the auto-archiver-api --> <!-- 1. `API_SERVICE_PASSWORD` for the auto-archiver-api -->
<!-- 2. `GOOGLE_API_CLIENT_EMAIL` and `GOOGLE_API_PRIVATE_KEY` for the scheduled function to validate sheets exist --> <!-- 2. `GOOGLE_API_CLIENT_EMAIL` and `GOOGLE_API_PRIVATE_KEY` for the scheduled function to validate sheets exist -->

View File

@@ -1,6 +1,4 @@
import { gapi } from "gapi-script"; import { gapi } from "gapi-script";
// import { GoogleAuthProvider, signInWithCredential } from "firebase/auth";
// import { firebaseAuth } from "@/firebase.js";
gapi.load("client:auth2", async () => { gapi.load("client:auth2", async () => {
gapi.client.init({ gapi.client.init({