diff --git a/tools/docker/edge/ui/Dockerfile b/tools/docker/edge/ui/Dockerfile index c68b4f056a3..14d5a1c2493 100644 --- a/tools/docker/edge/ui/Dockerfile +++ b/tools/docker/edge/ui/Dockerfile @@ -1,5 +1,5 @@ ARG NODE_VERSION=21 -ARG UI_VERSION=openems,openems-edge-dev,dev +ARG UI_VERSION=openems,openems-edge-prod,prod ### Build ui files FROM --platform=$BUILDPLATFORM node:${NODE_VERSION}-alpine AS build_ui diff --git a/ui/src/themes/openems/environments/edge-prod.ts b/ui/src/themes/openems/environments/edge-prod.ts index bcaf40f6901..9e747188243 100644 --- a/ui/src/themes/openems/environments/edge-prod.ts +++ b/ui/src/themes/openems/environments/edge-prod.ts @@ -7,7 +7,7 @@ export const environment: Environment = { backend: 'OpenEMS Edge', url: "ws://" + location.hostname + ":8075", - production: true, - debugMode: false, + production: false, + debugMode: true, }, };