Skip to content

Commit

Permalink
needed backticks
Browse files Browse the repository at this point in the history
  • Loading branch information
lauren-mieczkowski committed Jan 16, 2024
1 parent f81f3e1 commit 1b6bfd8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 1 addition & 4 deletions src/connect/components/DeviceForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<Device>) => {
// if (device && device.deviceId) {
Expand Down

0 comments on commit 1b6bfd8

Please sign in to comment.