Skip to content

Commit

Permalink
fix: use updated strapi location
Browse files Browse the repository at this point in the history
  • Loading branch information
bodobraegger committed Nov 13, 2024
1 parent 6f4aa77 commit 84f9be9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import axios from "axios";
const windowEnv = window.env.BACKEND_URL !== "${BACKEND_URL}" ? window.env.BACKEND_URL : ""
export default axios.create({
// read baseULR for dev from .env file, for production from window.env (set by webpack)
baseURL: import.meta.env.REACT_APP_BACKEND_URL || windowEnv || 'https://strapi.app.levell.ch/',
baseURL: import.meta.env.REACT_APP_BACKEND_URL || windowEnv || 'https://api.thilo.scouts.ch/admin/',
headers: {
"Content-type": "application/json",
},
Expand Down

0 comments on commit 84f9be9

Please sign in to comment.