Spaces:
Running
Running
update
Browse files
.gitignore
CHANGED
@@ -7,6 +7,9 @@ yarn-error.log*
|
|
7 |
pnpm-debug.log*
|
8 |
lerna-debug.log*
|
9 |
|
|
|
|
|
|
|
10 |
client/node_modules
|
11 |
client/dist
|
12 |
client/dist-ssr
|
|
|
7 |
pnpm-debug.log*
|
8 |
lerna-debug.log*
|
9 |
|
10 |
+
__pycache__
|
11 |
+
*.pyc
|
12 |
+
|
13 |
client/node_modules
|
14 |
client/dist
|
15 |
client/dist-ssr
|
client/src/config/api.js
CHANGED
@@ -6,7 +6,7 @@ const isHfSpace =
|
|
6 |
// Get the base API URL based on the environment
|
7 |
const API_BASE_URL = isHfSpace
|
8 |
? `${window.location.origin}` // En production (HF Space), on utilise l'URL racine
|
9 |
-
: "http://localhost:3002
|
10 |
|
11 |
export const API_URLS = {
|
12 |
leaderboards: `${API_BASE_URL}/api/leaderboards`,
|
|
|
6 |
// Get the base API URL based on the environment
|
7 |
const API_BASE_URL = isHfSpace
|
8 |
? `${window.location.origin}` // En production (HF Space), on utilise l'URL racine
|
9 |
+
: "http://localhost:3002"; // En développement
|
10 |
|
11 |
export const API_URLS = {
|
12 |
leaderboards: `${API_BASE_URL}/api/leaderboards`,
|
server/__pycache__/main.cpython-310.pyc
DELETED
Binary file (2.52 kB)
|
|
server/__pycache__/server.cpython-310.pyc
DELETED
Binary file (2.53 kB)
|
|