File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " react-scripts-ssr" ,
3- "version" : " 0.1.9 " ,
3+ "version" : " 0.1.10 " ,
44 "repository" : " https://github.com/leanjscom/react-scripts-ssr" ,
55 "license" : " MIT" ,
66 "engines" : {
Original file line number Diff line number Diff line change @@ -44,18 +44,18 @@ try {
4444}
4545
4646const WEB_HOST =
47- customHttpProxyConfig . proxy . webHost || program . webHost || "localhost" ;
47+ program . webHost || customHttpProxyConfig . proxy . webHost || "localhost" ;
4848const WEB_PORT =
49- customHttpProxyConfig . proxy . webPort || program . webPort || "3000" ;
49+ program . webPort || customHttpProxyConfig . proxy . webPort || "3000" ;
5050const WEB_URL = `http://${ WEB_HOST } :${ WEB_PORT } ` ;
5151const API_URL =
52- customHttpProxyConfig . proxy . apiUrl ||
5352 program . apiUrl ||
53+ customHttpProxyConfig . proxy . apiUrl ||
5454 "http://localhost:8080" ;
5555const PROXY_PORT =
56- customHttpProxyConfig . proxy . proxyPort || program . proxyPort || 5050 ;
56+ program . proxyPort || customHttpProxyConfig . proxy . proxyPort || 5050 ;
5757const PROXY_HOST =
58- customHttpProxyConfig . proxy . proxyHost || program . proxyHost || "localhost" ;
58+ program . proxyHost || customHttpProxyConfig . proxy . proxyHost || "localhost" ;
5959
6060const proxy = httpProxy . createProxyServer ( {
6161 ws : true ,
You can’t perform that action at this time.
0 commit comments