HackYourFuture-CPH / simply-name.it

Final Project for Class17
MIT License
3 stars 1 forks source link

Backend: Fix the firebase authentication #256

Closed senner007 closed 3 years ago

senner007 commented 3 years ago

Description

There is currently an issue with the authentication causing the request to the index.html to go through the authentication middleware.

To fix this, these 2 lines must be switched around:

app.use(authenticate);
app.use(express.static(buildPath)); 

in app.js