Fix redirects
Browse files- README.md +1 -1
- src/routes/+page.svelte +1 -1
- svelte.config.js +1 -1
README.md
CHANGED
@@ -13,7 +13,7 @@ app_file: build/index.html
|
|
13 |
To develop locally:
|
14 |
|
15 |
```
|
16 |
-
git clone https://huggingface.co/spaces/huggingface/diffuse-the-rest
|
17 |
cd diffuse-the-rest
|
18 |
npm ci
|
19 |
NODE_ENV="development" npm run dev -- --open
|
|
|
13 |
To develop locally:
|
14 |
|
15 |
```
|
16 |
+
git clone https://huggingface.co/spaces/huggingface-projects/diffuse-the-rest
|
17 |
cd diffuse-the-rest
|
18 |
npm ci
|
19 |
NODE_ENV="development" npm run dev -- --open
|
src/routes/+page.svelte
CHANGED
@@ -384,7 +384,7 @@ ${htmlImgs.slice(1).join("\n")}
|
|
384 |
});
|
385 |
|
386 |
const paramsStr = params.toString();
|
387 |
-
window.open(`https://huggingface.co/spaces/huggingface/diffuse-the-rest/discussions/new?${paramsStr}`, '_blank');
|
388 |
isUploading = false;
|
389 |
}
|
390 |
|
|
|
384 |
});
|
385 |
|
386 |
const paramsStr = params.toString();
|
387 |
+
window.open(`https://huggingface.co/spaces/huggingface-projects/diffuse-the-rest/discussions/new?${paramsStr}`, '_blank');
|
388 |
isUploading = false;
|
389 |
}
|
390 |
|
svelte.config.js
CHANGED
@@ -15,7 +15,7 @@ const config = {
|
|
15 |
|
16 |
kit: {
|
17 |
paths: {
|
18 |
-
base: dev ? '' : '/staticspaceiframe/huggingface/diffuse-the-rest/build'
|
19 |
},
|
20 |
adapter: adapter(),
|
21 |
prerender: {
|
|
|
15 |
|
16 |
kit: {
|
17 |
paths: {
|
18 |
+
base: dev ? '' : '/staticspaceiframe/huggingface-projects/diffuse-the-rest/build'
|
19 |
},
|
20 |
adapter: adapter(),
|
21 |
prerender: {
|