We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46fe05b commit 339c167Copy full SHA for 339c167
1 file changed
frontend/src/api/backendAPI.ts
@@ -5,5 +5,5 @@ import { BACKEND_URL } from '../config/backendConfig';
5
const isProduction = import.meta.env.PROD;
6
7
export const API = axios.create({
8
- baseURL: BACKEND_URL + `${isProduction ? '/notes-app/api' : '/api'}`,
+ baseURL: BACKEND_URL + `${isProduction ? '/notes-app' : ''}`,
9
});
0 commit comments