Skip to content

Commit 3123549

Browse files
proxy module added
1 parent 98921ea commit 3123549

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"highlight.js": "^9.17.1",
1616
"history": "^4.10.1",
1717
"html-to-markdown": "^1.0.0",
18+
"http-proxy-middleware": "^1.0.5",
1819
"list-react-files": "^0.2.0",
1920
"markdown-it": "^10.0.0",
2021
"markdown-it-abbr": "^1.0.4",
@@ -53,7 +54,9 @@
5354
"scripts": {
5455
"lambda-serve": "netlify-lambda serve netlify-functions",
5556
"heroku-postbuild": "npm run build",
56-
"start": "serve -s build -l 3000",
57+
"start:app": "serve -s build -l 3000",
58+
"start:server": "netlify-lambda serve netlify-functions",
59+
"start": "netlify-lambda serve netlify-functions & serve -s build -l 3000",
5760
"prebuild": "netlify-lambda build netlify-functions",
5861
"build": "CI=false && set \"CI=false\" && react-scripts build",
5962
"test": "react-scripts test",

0 commit comments

Comments
 (0)