File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ export async function build(
178178 } ;
179179 if ( mode === "development" && config . future . unstable_dev ) {
180180 let origin = await resolveDevOrigin ( config ) ;
181- options . devHttpOrigin = origin ;
181+ options . devOrigin = origin ;
182182 }
183183
184184 fse . emptyDirSync ( config . assetsBuildDirectory ) ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export type Options = {
66 onWarning ?: ( message : string , key : string ) => void ;
77
88 // TODO: required in v2
9- devHttpOrigin ?: {
9+ devOrigin ?: {
1010 scheme : string ;
1111 host : string ;
1212 port : number ;
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ const createEsbuildConfig = (
103103 ctx . config . devServerPort
104104 ) ,
105105 "process.env.REMIX_DEV_HTTP_ORIGIN" : JSON . stringify (
106- ctx . options . devHttpOrigin ?? "" // TODO: remove nullish check in v2
106+ ctx . options . devOrigin ?? "" // TODO: remove nullish check in v2
107107 ) ,
108108 } ,
109109 jsx : "automatic" ,
Original file line number Diff line number Diff line change @@ -51,9 +51,9 @@ ${Object.keys(config.routes)
5151 export const publicPath = ${ JSON . stringify ( config . publicPath ) } ;
5252 export const entry = { module: entryServer };
5353 ${
54- options . devHttpOrigin
54+ options . devOrigin
5555 ? `export const dev = ${ JSON . stringify ( {
56- port : options . devHttpOrigin . port ,
56+ port : options . devOrigin . port ,
5757 } ) } `
5858 : ""
5959 }
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ export let serve = async (
138138 mode : "development" ,
139139 sourcemap : true ,
140140 onWarning : warnOnce ,
141- devHttpOrigin : origin ,
141+ devOrigin : origin ,
142142 } ,
143143 } ,
144144 {
You can’t perform that action at this time.
0 commit comments