Fix statically replaced HASH_ROUTING env variables
modified .github/workflows/check-e2e.yml
@@ -42,7 +42,9 @@ jobs:
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified package.json
@@ -2,15 +2,16 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
modified playwright.config.ts
@@ -4,6 +4,7 @@ import { devices } from "@playwright/test";
|
|
|
|
|
|
| + | |
|
|
|
|
|
added playwright.ipfs.config.ts
@@ -0,0 +1,14 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified src/App.svelte
@@ -23,7 +23,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
added src/env.d.ts
@@ -0,0 +1,14 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified src/global.d.ts
@@ -8,7 +8,6 @@ declare global {
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified src/lib/router.ts
@@ -16,7 +16,7 @@ export const activeRouteStore: Readable<Route> = derived(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -97,7 +97,7 @@ export const push = (newRoute: Route): void => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -116,7 +116,7 @@ export const pop = (): void => {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -142,7 +142,7 @@ function pathToRoute(path: string): Route | null {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified tests/e2e/hashRouter.spec.ts
@@ -11,12 +11,6 @@ import {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified vite.config.ts
@@ -8,22 +8,6 @@ import path from "node:path";
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -85,7 +69,10 @@ export default defineConfig({
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|