File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ pub fn order_reload() {
100
100
/// Gets the host and port to run the reload server on.
101
101
fn get_reload_server_host_and_port ( ) -> ( String , u16 ) {
102
102
let host = env:: var ( "PERSEUS_RELOAD_SERVER_HOST" ) . unwrap_or_else ( |_| "localhost" . to_string ( ) ) ;
103
- let port = env:: var ( "PERSEUS_RELOAD_SERVER_PORT" ) . unwrap_or_else ( |_| "8090 " . to_string ( ) ) ;
103
+ let port = env:: var ( "PERSEUS_RELOAD_SERVER_PORT" ) . unwrap_or_else ( |_| "3100 " . to_string ( ) ) ;
104
104
let port = port
105
105
. parse :: < u16 > ( )
106
106
. expect ( "reload server port must be a number" ) ;
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ impl<'a> HtmlShell<'a> {
96
96
let host =
97
97
env:: var ( "PERSEUS_RELOAD_SERVER_HOST" ) . unwrap_or_else ( |_| "localhost" . to_string ( ) ) ;
98
98
let port =
99
- env:: var ( "PERSEUS_RELOAD_SERVER_PORT" ) . unwrap_or_else ( |_| "8090 " . to_string ( ) ) ;
99
+ env:: var ( "PERSEUS_RELOAD_SERVER_PORT" ) . unwrap_or_else ( |_| "3100 " . to_string ( ) ) ;
100
100
scripts_before_boundary
101
101
. push ( format ! ( "window.__PERSEUS_RELOAD_SERVER_HOST = '{}'" , host) . into ( ) ) ;
102
102
scripts_before_boundary
You can’t perform that action at this time.
0 commit comments