Skip to content

Commit

Permalink
feat: make server ip an env var
Browse files Browse the repository at this point in the history
  • Loading branch information
erics118 committed Jun 11, 2024
1 parent bea87a3 commit f150310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const IP_ADDRESS = "192.168.68.111";
export const IP_ADDRESS = process.env.IP_ADDRESS || "192.168.68.111";

export const BACKEND_URL = `ws://${IP_ADDRESS}:2567`;

Expand Down

0 comments on commit f150310

Please sign in to comment.