You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: mock-api/README.md
+10-1
Original file line number
Diff line number
Diff line change
@@ -17,4 +17,13 @@ and to run it
17
17
% npm run dev
18
18
```
19
19
20
-
The hardcoded data is limited at the moment and can be easily extended by changing the file `/mock-api/server.js`
20
+
## Notes
21
+
22
+
- It's for local development only
23
+
-`src/.env.development` is no longer required
24
+
- CORS is removed, also the build flag
25
+
- new file `interface/src/setupProxy.js`
26
+
- new files `mock-api/server.js` with the hardcoded data. Requires its own npm packages for express
27
+
28
+
## ToDo
29
+
- add filter rule to prevent from exposing yourself to malicious attacks when running the dev server(https://medium.com/webpack/webpack-dev-server-middleware-security-issues-1489d950874a)
0 commit comments