Spaces:
Runtime error
Runtime error
remove base path
Browse files- Makefile +1 -1
- frontend/svelte.config.js +0 -3
Makefile
CHANGED
@@ -5,7 +5,7 @@ build-client:
|
|
5 |
build-dev:
|
6 |
cd frontend && npm install && NODE_ENV=development npm run build && rm -rf ../static && cp -rv build/ ../static/
|
7 |
run-dev:
|
8 |
-
|
9 |
run-prod:
|
10 |
python app.py
|
11 |
# build-all: install-node build-client run
|
|
|
5 |
build-dev:
|
6 |
cd frontend && npm install && NODE_ENV=development npm run build && rm -rf ../static && cp -rv build/ ../static/
|
7 |
run-dev:
|
8 |
+
FLASK_DEBUG=development python app.py
|
9 |
run-prod:
|
10 |
python app.py
|
11 |
# build-all: install-node build-client run
|
frontend/svelte.config.js
CHANGED
@@ -13,9 +13,6 @@ const config = {
|
|
13 |
}),
|
14 |
|
15 |
kit: {
|
16 |
-
paths: {
|
17 |
-
base: dev ? '/static' : '/embed/huggingface-projects/wordalle/static'
|
18 |
-
},
|
19 |
adapter: adapter({
|
20 |
pages: 'build',
|
21 |
assets: 'build',
|
|
|
13 |
}),
|
14 |
|
15 |
kit: {
|
|
|
|
|
|
|
16 |
adapter: adapter({
|
17 |
pages: 'build',
|
18 |
assets: 'build',
|