Skip to content

Commit

Permalink
fix: serverless bug
Browse files Browse the repository at this point in the history
  • Loading branch information
scarqin committed Aug 1, 2022
1 parent 2586325 commit 6aaea33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ export class TestServerService {
this.isElectron = this.electron.isElectron;
}
get instance() {
let 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) {

1 comment on commit 6aaea33

@vercel
Copy link

@vercel vercel bot commented on 6aaea33 Aug 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.