We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b010666 commit 9feb078Copy full SHA for 9feb078
1 file changed
frontend/js/api.js
@@ -1,6 +1,6 @@
1
-const API_BASE_URL = window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1'
2
- ? 'http://localhost:5000'
3
- : 'https://logitrack-ppnc.onrender.com';
+const API_BASE_URL = window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1'
+ ? 'http://localhost:5000'
+ : 'https://logitrack-ppne.onrender.com';
4
5
const API_URL = `${API_BASE_URL}/api`;
6
0 commit comments