File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-scripts-ssr" ,
3
- "version" : " 0.1.9 " ,
3
+ "version" : " 0.1.10 " ,
4
4
"repository" : " https://github.com/leanjscom/react-scripts-ssr" ,
5
5
"license" : " MIT" ,
6
6
"engines" : {
Original file line number Diff line number Diff line change @@ -44,18 +44,18 @@ try {
44
44
}
45
45
46
46
const WEB_HOST =
47
- customHttpProxyConfig . proxy . webHost || program . webHost || "localhost" ;
47
+ program . webHost || customHttpProxyConfig . proxy . webHost || "localhost" ;
48
48
const WEB_PORT =
49
- customHttpProxyConfig . proxy . webPort || program . webPort || "3000" ;
49
+ program . webPort || customHttpProxyConfig . proxy . webPort || "3000" ;
50
50
const WEB_URL = `http://${ WEB_HOST } :${ WEB_PORT } ` ;
51
51
const API_URL =
52
- customHttpProxyConfig . proxy . apiUrl ||
53
52
program . apiUrl ||
53
+ customHttpProxyConfig . proxy . apiUrl ||
54
54
"http://localhost:8080" ;
55
55
const PROXY_PORT =
56
- customHttpProxyConfig . proxy . proxyPort || program . proxyPort || 5050 ;
56
+ program . proxyPort || customHttpProxyConfig . proxy . proxyPort || 5050 ;
57
57
const PROXY_HOST =
58
- customHttpProxyConfig . proxy . proxyHost || program . proxyHost || "localhost" ;
58
+ program . proxyHost || customHttpProxyConfig . proxy . proxyHost || "localhost" ;
59
59
60
60
const proxy = httpProxy . createProxyServer ( {
61
61
ws : true ,
You can’t perform that action at this time.
0 commit comments