Comments (3)
go to config.js and replace API
export const API = publicRuntimeConfig.PRODUCTION
? publicRuntimeConfig.API_PRODUCTION
: 'http://localhost:8000/api';
export const APP_NAME = publicRuntimeConfig.APP_NAME;
export const DOMAIN = publicRuntimeConfig.PRODUCTION
? publicRuntimeConfig.DOMAIN_PRODUCTION
: 'http://localhost:8000/';
environment variable doesn't work for some reason so you have to replace the variables with the actual value.
from react-node-next-multi-user-blogging-platform.
I am getting the same error. How did you resolve this?
from react-node-next-multi-user-blogging-platform.
thank you!
from react-node-next-multi-user-blogging-platform.
Related Issues (12)
- next js blog
- login problem
- Unable to Login with New Password after resetting the password
- 50 create blog with categories and tags: backend code is not working
- Security by Obscurity
- Unhandled Runtime Error TypeError: Cannot read property 'length' of undefined HOT 1
- License? HOT 1
- TypeError: Cannot read property 'length' of undefined
- Unhandled Rejection (TypeError): Cannot read property 'error' of undefined HOT 3
- Unable to get username from isAuth() HOT 7
- Great work! I'm your student from Udemy.
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 react-node-next-multi-user-blogging-platform.