Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
da-Kai committed Mar 2, 2024
1 parent 93afd07 commit 622de37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/docker/edge/ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ COPY ./tools/docker/edge/ui/edge.patch /src

WORKDIR /src

#RUN patch -p1 < edge.patch
RUN patch -p1 < edge.patch
RUN npm install
RUN node_modules/.bin/ng build -c "${UI_VERSION}"

Expand Down
2 changes: 1 addition & 1 deletion tools/docker/edge/ui/edge.patch
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Index: /src/themes/openems/environments/edge-prod.ts

backend: 'OpenEMS Edge',
- url: "ws://" + location.hostname + ":8075",
+ url: "ws://localhost:8075",
+ url: "/websocket",

production: true,
debugMode: false,

0 comments on commit 622de37

Please sign in to comment.