diff --git a/.idea/display.iml b/.idea/display.iml index 639b18b..b5f1104 100644 --- a/.idea/display.iml +++ b/.idea/display.iml @@ -1,5 +1,6 @@ + diff --git a/Dockerfile b/Dockerfile index 856904c..1f2f923 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,6 @@ COPY public ./public COPY src ./src COPY .git ./.git -ARG REACT_APP_TCL_AUTH RUN export REACT_APP_VERSION=$(git describe --always) && \ export REACT_APP_DATE=$(date +"%Y-%m-%d %H:%M:%S") && \ yarn build diff --git a/docker-compose.yaml b/docker-compose.yaml index 5124ae8..739ece6 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -2,8 +2,6 @@ services: app: build: context: . - args: - REACT_APP_TCL_AUTH: changeme restart: always networks: - frontend diff --git a/src/App.tsx b/src/App.tsx index 16e4d1e..a425ae5 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -89,7 +89,6 @@ class App extends React.Component<{}, IAppState> { private refresh() { const headers = new Headers(); - headers.set("Authorization", `Basic ${process.env.REACT_APP_TCL_AUTH}`); const tclPromise = http(`https://tcl.augendre.info/tcl/stop/${this.monitoredTclStopId}`, { method: "GET", headers: headers