Comments (1)
the proxy param is for passport to know where to go depending on if you are in prod or dev.
So what it is saying is if you run into a proxy trust it and try to use that first.
This handles our production environment in where we want the data to go to heroku's node server to seralize and de-seralize instead of our own local node environment.
from fullstackreactcode.
Related Issues (20)
- Bug: Heroku Deployment error with this project. The error message points to, and suggests a solution to, the eslint module in the node_modules folder where 'require() of ES modules is not supported' HOT 1
- Failed to deploy server to Heroku. Please help!!! HOT 1
- Could not proxy request /api/v1/products?keyword=&page=1&price[gte]=0&price[lte]=25000&ratings[gte]=0 from localhost:3000 to http://192.168.29.21:4000.
- Stuck at "Choose An Account" page for 1 minute, then Application Error HOT 1
- Heroku application error: request timeout (503) HOT 8
- ""
- After loggin to app it redirect to localhost:5000/surveys HOT 7
- Fix for proxy issue in "Routing Stumbling Block" HOT 1
- Error when saving the second user in database HOT 1
- req.user.save is not a function HOT 1
- Package Update Necessary
- err
- UnhandledPromiseRejectionWarning: SendGridError: Response error ; Layman Fix HOT 5
- Few tips for successfully running the code in 2020 HOT 2
- Why does string literals not work?
- Why does the profile google OAuth logs twice? HOT 1
- After clicking on yes/no from the mail, no information is coming back to console. HOT 1
- Heroku Application Error
- Github Oauth
- withRouter not exported from 'react-router-dom'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fullstackreactcode.