Skip to content

Commit 79280f9

Browse files
committed
Fix endpoint is not defined
Signed-off-by: Lin Wang <[email protected]>
1 parent 3c3100a commit 79280f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cypress/utils/commands.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const currentBackendEndpoint = (() => {
5959
}
6060
},
6161
get() {
62-
return Cypress.env('currentEndpoint');
62+
return Cypress.env('currentEndpoint') || DEFAULT_ENDPOINT;
6363
},
6464
});
6565
})();

0 commit comments

Comments
 (0)