Skip to content

API routes using Firebase break in Production #16698

Answered by leerob
toughyear asked this question in Help
Discussion options

You must be logged in to vote

Wait... I think I know! You should be using firebase-admin when you're on the server.

Here's an example: https://github.com/leerob/nextjs-vercel-firebase

Replies: 3 comments 12 replies

Comment options

You must be logged in to vote
1 reply
@toughyear
Comment options

Comment options

You must be logged in to vote
10 replies
@pbshgthm
Comment options

@toughyear
Comment options

@mattjis
Comment options

@aarnadlr
Comment options

@r-4bb1t
Comment options

Answer selected by toughyear
Comment options

You must be logged in to vote
1 reply
@kashif12703
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
8 participants