Skip to content

Commit

Permalink
fix: vercel test error
Browse files Browse the repository at this point in the history
  • Loading branch information
scarqin committed Aug 3, 2022
1 parent b745e0b commit ace051b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class TestServerService {
this.isElectron = this.electron.isElectron;
}
get instance() {
const isVercel = window.location.href.includes('vercel')||window.location.host==='demo.eoapi.io';
const isVercel = window.location.href.includes('vercel')||window.location.host.includes('eoapi.io');
if (this.isElectron) {
return this.localNode;
} else if (!isVercel) {
Expand Down

0 comments on commit ace051b

Please sign in to comment.