Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
N0067H committed Aug 27, 2024
1 parent 98031f5 commit 4637d23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion applications/client/src/App.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState, useEffect } from 'react';
import styles from './App.module.css';

const API = require("./config/apiconfig.json").url;
const API = process.env.SERVER_URL;

function Button({ text, handle, className, value, type, disabled }) {
return (
Expand Down
2 changes: 1 addition & 1 deletion applications/client/src/config/apiconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"url": "{{ SERVER URL }}"
}
}

0 comments on commit 4637d23

Please sign in to comment.