File tree Expand file tree Collapse file tree 4 files changed +3
-7
lines changed Expand file tree Collapse file tree 4 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,3 @@ CHORES
192192
193193- [x] Upgrade to Babel7
194194- [ ] Extract ReduxActions Cosmos proxy
195-
196- Deployment
197-
198- - [x] Change client port to 80
Original file line number Diff line number Diff line change @@ -28,5 +28,5 @@ export async function startNextApp(
2828 return nextHandler ( req , res ) ;
2929 } ) ;
3030
31- startServer ( server , 80 ) ;
31+ startServer ( server , 3000 ) ;
3232}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ attachSocket(server);
1616
1717// CORS
1818app . use ( function ( req : express$Request , res : express$Response , next ) {
19- res . header ( 'Access-Control-Allow-Origin' , 'http://localhost' ) ;
19+ res . header ( 'Access-Control-Allow-Origin' , 'http://localhost:3000 ' ) ;
2020 res . header ( 'Access-Control-Allow-Credentials' , 'true' ) ;
2121 res . header (
2222 'Access-Control-Allow-Headers' ,
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ export function Unauthorized() {
7373function getProdBaseUrl ( ) {
7474 // Relative paths allow us to serve the prod app from any proxy address (eg.
7575 // via ngrok), but server-side requests need to contain the host address
76- return typeof window === 'undefined' ? 'http://localhost:80 ' : '' ;
76+ return typeof window === 'undefined' ? 'http://localhost:3000 ' : '' ;
7777}
7878
7979function fetchJson ( urlPath : string , options ?: Object ) : Promise < any > {
You can’t perform that action at this time.
0 commit comments