Skip to content

Commit

Permalink
enable use from another device (mobile) and headless server for devel…
Browse files Browse the repository at this point in the history
…opment
  • Loading branch information
rraymondgh committed Feb 10, 2025
1 parent 8c4a5c3 commit e5fdde7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ tasks:
cmds:
- npm start -- --host {{.HOST}} --port {{.PORT}}
vars:
HOST: localhost
HOST: 0.0.0.0
PORT: 3334

serve-docsite:
Expand Down
3 changes: 2 additions & 1 deletion webui/src/environments/environment.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export const graphqlEndpoint = "http://localhost:3333/graphql";
export const graphqlEndpoint =
window.location.protocol + "//" + window.location.hostname + ":3333/graphql";

0 comments on commit e5fdde7

Please sign in to comment.