Skip to content

Commit 339c167

Browse files
committed
Fix identifier duplication in URL
1 parent 46fe05b commit 339c167

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/api/backendAPI.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ import { BACKEND_URL } from '../config/backendConfig';
55
const isProduction = import.meta.env.PROD;
66

77
export const API = axios.create({
8-
baseURL: BACKEND_URL + `${isProduction ? '/notes-app/api' : '/api'}`,
8+
baseURL: BACKEND_URL + `${isProduction ? '/notes-app' : ''}`,
99
});

0 commit comments

Comments
 (0)