-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update/config updates #27
base: dev
Are you sure you want to change the base?
Conversation
…with local and added new middleware specifically for firebase
// script: [ | ||
// { | ||
// src: `https://www.googletagmanager.com/gtag/js?id=${google_analytics}`, | ||
// async: true, | ||
// }, | ||
// { | ||
// innerHTML: `window.dataLayer = window.dataLayer || [];function gtag(){window.dataLayer.push(arguments);}gtag('js', new Date());gtag('config', '${google_analytics}');`, | ||
// type: "text/javascript", | ||
// defer: true, | ||
// }, | ||
// ], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bakmyradov Why did you comment out the google analytics here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't have the correct credentials and it was giving an error that's why I left it commented.
|
||
// a security middleware that handles several kinds of attacks in the HTTP/HTTPS protocols | ||
app.use(helmet()) | ||
// app.use(helmet()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bakmyradov any reason why did you comment out helmet
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When dealing with package updating there was an error in the helmet
package. I apologize I forgot to uncomment it after resolving.
Updated packages and google firebase authentication added.