Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
RetricSu committed Jan 17, 2025
1 parent d938ae2 commit eed98c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default defineConfig({
},
define: {
"import.meta.env.VITE_HTTP_API_URL": JSON.stringify(
"http://localhost:3000", //"http://13.251.229.198:3000", //"http://localhost:3000",
"http://13.251.229.198:3000", //"http://localhost:3000",
),
},
});
1 change: 1 addition & 0 deletions src/core/ws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ export class Subscriber {
try {
logger.info(`doing a reconnect ${this.ckbRpcUrl}`);
this.ws = new WebSocket(this.ckbRpcUrl);
this.run();
} catch (error: unknown) {
logger.error(
`${this.ckbRpcUrl} reconnect failed: ${(error as Error).message}, shutting down...`,
Expand Down

0 comments on commit eed98c6

Please sign in to comment.