We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c7a45c commit e2fe56dCopy full SHA for e2fe56d
app/utils/getDBref.ts
@@ -3,6 +3,7 @@ import { getDatabase } from "firebase-admin/database"
3
import admin from "firebase-admin"
4
5
export async function getRef() {
6
+ console.log("process",process.env.API_AUTH_KEY)
7
var fet = await fetch("https://portfolio-api-backend.vercel.app/server/api/getDB",{headers: {auth : process.env.API_AUTH_KEY as string}}).then(async (res) => { return await res.json() })
8
if (!admin.apps.length) {
9
admin.initializeApp({
0 commit comments