File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ export function RemoteProduct() {
139139 const progress : DiscoveryProgress = { total : ports . length , checked : 0 , found : [ ] } ;
140140 setDiscovery ( { ...progress } ) ;
141141
142- const results = await Promise . allSettled (
142+ await Promise . allSettled (
143143 ports . map ( async ( port ) => {
144144 if ( abort . signal . aborted ) return ;
145145 const hostWithPort = `${ host } :${ port } ` ;
@@ -154,9 +154,8 @@ export function RemoteProduct() {
154154
155155 if ( abort . signal . aborted ) return ;
156156
157- // Check results
158- const failedAll = results . every ( ( r ) => r . status === 'rejected' ) ;
159- if ( failedAll || progress . found . length === 0 ) {
157+ // Only error when zero servers were discovered
158+ if ( progress . found . length === 0 ) {
160159 setFormError ( 'No ECA servers found on ports 7777–7787. Check the host and password.' ) ;
161160 setFormConnecting ( false ) ;
162161 return ;
Original file line number Diff line number Diff line change @@ -13,6 +13,6 @@ export default defineConfig({
1313 outDir : 'dist' ,
1414 } ,
1515 server : {
16- port : 5180 ,
16+ port : 8080 ,
1717 } ,
1818} ) ;
You can’t perform that action at this time.
0 commit comments