irongit

'fixed login'

huncholanehuncholaneauthored
parent b348ad4commit fe636a2cb1b862a5796354440613dd262e108f79Browse files

2 files changed, +10 -4

+3-2Client/src/constant.js
@@ -1,3 +1,4 @@
11 export const constant = {
2- baseUrl: process.env.REACT_APP_BASE_URL
3-}
2+ // baseUrl: process.env.REACT_APP_BASE_URL
3+ baseUrl: "http://localhost:5001/", // Assuming we are using localhost. This should be in .env file but I want to show the problem
4+};
+7-2README.md
@@ -10,8 +10,13 @@
1010 There is no need to change or add login function.
1111 Interpret the code structure and set the correct environment by the experience of building projects. <br/>
1212 Here is a login information. <br/>
13- ✓ email: admin@gmail.com ✓ password: admin123
13+ ✓ email: admin@gmail.com ✓ password: admin123
1414
1515 - Implement Restful API of "Meeting" in the both of server and client sides (40min)<br/>
1616 Focus Code Style and Code Optimization. <br/>
17- Reference other functions.
17+ Reference other functions.
18+
19+## Solution
20+
21+- I set the constant baseUrl in the code for demonstration purpose. It should be set in the environment.
22+-