diff --git a/Dockerfile b/Dockerfile index ae7f1349..8459a3db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,6 @@ ENV PATH="/usr/local/bin:${PATH}" # Add oracle URL as environment variable ENV REACT_APP_ORACLE_URL $REACT_APP_ORACLE_URL -ENV ORACLE_URL $ORACLE_URL # Print PATH and check if yarn is found RUN echo "Current PATH: $PATH" diff --git a/src/connect/components/DeviceForm.tsx b/src/connect/components/DeviceForm.tsx index d8f829d9..550cff46 100644 --- a/src/connect/components/DeviceForm.tsx +++ b/src/connect/components/DeviceForm.tsx @@ -57,10 +57,7 @@ const DeviceForm = ({ const { t } = useTranslation(); const [loading, setLoading] = useState(false); const oracle_baseURL: string | undefined = process.env.REACT_APP_ORACLE_URL; //`http://3.95.191.132:30806/oracle` - const oracle_baseURL1: string | undefined = process.env.ORACLE_URL; - console.log('Oracle baseURL:', oracle_baseURL); - console.log('Oracle baseURL1:', oracle_baseURL1); - const oracleURL: string = '${oracle_baseURL}/oracle' + const oracleURL: string = `'${oracle_baseURL}/oracle'` // const handleMock = (values: Partial) => { // if (device && device.deviceId) {