File tree Expand file tree Collapse file tree 13 files changed +13
-13
lines changed Expand file tree Collapse file tree 13 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ mongoose.connect(
26
26
) ;
27
27
28
28
const port = process . env . PORT || 8000 ;
29
- const ROOT_URL = process . env . ROOT_URL || `http://localhost:${ port } ` ;
29
+ const ROOT_URL = `http://localhost:${ port } ` ;
30
30
31
31
const app = next ( { dev } ) ;
32
32
const handle = app . getRequestHandler ( ) ;
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ mongoose.connect(
23
23
) ;
24
24
25
25
const port = process . env . PORT || 8000 ;
26
- const ROOT_URL = process . env . ROOT_URL || `http://localhost:${ port } ` ;
26
+ const ROOT_URL = `http://localhost:${ port } ` ;
27
27
28
28
const app = next ( { dev } ) ;
29
29
const handle = app . getRequestHandler ( ) ;
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ const options = {
26
26
) ;
27
27
28
28
const port = process . env . PORT || 8000 ;
29
- const ROOT_URL = process . env . ROOT_URL || `http://localhost:${ port } ` ;
29
+ const ROOT_URL = `http://localhost:${ port } ` ;
30
30
31
31
const app = next ( { dev } ) ;
32
32
const handle = app . getRequestHandler ( ) ;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ mongoose.connect(
24
24
) ;
25
25
26
26
const port = process . env . PORT || 8000 ;
27
- const ROOT_URL = process . env . ROOT_URL || `http://localhost:${ port } ` ;
27
+ const ROOT_URL = `http://localhost:${ port } ` ;
28
28
29
29
const app = next ( { dev } ) ;
30
30
const handle = app . getRequestHandler ( ) ;
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ mongoose.connect(
22
22
) ;
23
23
24
24
const port = process . env . PORT || 8000 ;
25
- const ROOT_URL = process . env . ROOT_URL || `http://localhost:${ port } ` ;
25
+ const ROOT_URL = `http://localhost:${ port } ` ;
26
26
27
27
const app = next ( { dev } ) ;
28
28
const handle = app . getRequestHandler ( ) ;
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ mongoose.connect(
25
25
) ;
26
26
27
27
const port = process . env . PORT || 8000 ;
28
- const ROOT_URL = process . env . ROOT_URL || `http://localhost:${ port } ` ;
28
+ const ROOT_URL = `http://localhost:${ port } ` ;
29
29
30
30
const URL_MAP = {
31
31
'/login' : '/public/login' ,
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ mongoose.connect(
24
24
) ;
25
25
26
26
const port = process . env . PORT || 8000 ;
27
- const ROOT_URL = process . env . ROOT_URL || `http://localhost:${ port } ` ;
27
+ const ROOT_URL = `http://localhost:${ port } ` ;
28
28
29
29
const app = next ( { dev } ) ;
30
30
const handle = app . getRequestHandler ( ) ;
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ mongoose.connect(
27
27
) ;
28
28
29
29
const port = process . env . PORT || 8000 ;
30
- const ROOT_URL = process . env . ROOT_URL || `http://localhost:${ port } ` ;
30
+ const ROOT_URL = `http://localhost:${ port } ` ;
31
31
32
32
const URL_MAP = {
33
33
'/login' : '/public/login' ,
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ mongoose.connect(
25
25
) ;
26
26
27
27
const port = process . env . PORT || 8000 ;
28
- const ROOT_URL = process . env . ROOT_URL || `http://localhost:${ port } ` ;
28
+ const ROOT_URL = `http://localhost:${ port } ` ;
29
29
30
30
const URL_MAP = {
31
31
'/login' : '/public/login' ,
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ mongoose.connect(
27
27
) ;
28
28
29
29
const port = process . env . PORT || 8000 ;
30
- const ROOT_URL = process . env . ROOT_URL || `http://localhost:${ port } ` ;
30
+ const ROOT_URL = `http://localhost:${ port } ` ;
31
31
32
32
const URL_MAP = {
33
33
'/login' : '/public/login' ,
You can’t perform that action at this time.
0 commit comments