Skip to content

Commit

Permalink
Merge pull request #177 from Arquisoft/secret-hotfix
Browse files Browse the repository at this point in the history
process.env.REACT_APP_API_URI set
  • Loading branch information
jbritosm authored May 3, 2022
2 parents f3c599a + aaf68a3 commit 9d3baaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/hooks/usePodData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const usePodData = (session: SessionInfo["session"]) => {

useEffect(() => {
if(session.info.webId) {
axios.get((process.env.RESTAPI_URI || "http://localhost:5000") + "/solid/fetch/" + encrypt(session.info.webId)).then(
axios.get((process.env.REACT_APP_API_URI || "http://localhost:5000") + "/solid/fetch/" + encrypt(session.info.webId)).then(
response => {
setContactData({
fn: response.data.fn,
Expand Down

0 comments on commit 9d3baaf

Please sign in to comment.