this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

๐Ÿ› Fix 404 on accented /[work or tag] pages

See https://github.com/withastro/astro/issues/14464

+19
+3
bun.lock
··· 27 27 }, 28 28 }, 29 29 }, 30 + "patchedDependencies": { 31 + "astro@5.13.8": "patches/astro@5.13.8.patch", 32 + }, 30 33 "packages": { 31 34 "@asamuzakjp/css-color": ["@asamuzakjp/css-color@3.2.0", "", { "dependencies": { "@csstools/css-calc": "^2.1.3", "@csstools/css-color-parser": "^3.0.9", "@csstools/css-parser-algorithms": "^3.0.4", "@csstools/css-tokenizer": "^3.0.3", "lru-cache": "^10.4.3" } }, "sha512-K1A6z8tS3XsmCMM86xoWdn7Fkdn9m6RSVtocUrJYIwZnFVkng/PvkEoWtOWmP+Scc6saYWHWZYbndEEXxl24jw=="], 32 35
+3
package.json
··· 32 32 "prettier-plugin-sort-json": "^4.1.1", 33 33 "rehype-katex": "^7.0.1", 34 34 "remark-math": "^6.0.0" 35 + }, 36 + "patchedDependencies": { 37 + "astro@5.13.8": "patches/astro@5.13.8.patch" 35 38 } 36 39 }
+13
patches/astro@5.13.8.patch
··· 1 + diff --git a/dist/core/routing/rewrite.js b/dist/core/routing/rewrite.js 2 + index 0ac1ce4e63d9cf7f3f13606baa846fea69752211..017d929774c2aaf26a0fe4ce82c98e12ca887a80 100644 3 + --- a/dist/core/routing/rewrite.js 4 + +++ b/dist/core/routing/rewrite.js 5 + @@ -59,7 +59,7 @@ function findRouteToRewrite({ 6 + if (route.pattern.test(decodedPathname)) { 7 + if (route.params && route.params.length !== 0 && route.distURL && route.distURL.length !== 0) { 8 + if (!route.distURL.find( 9 + - (url) => url.href.replace(outDir.toString(), "").replace(/(?:\/index\.html|\.html)$/, "") == trimSlashes(decodedPathname) 10 + + (url) => url.href.replace(outDir.toString(), "").replace(/(?:\/index\.html|\.html)$/, "") == trimSlashes(pathname) 11 + )) { 12 + continue; 13 + }