Skip to content

Commit b5eebfe

Browse files
fix: serve hand-crafted darren page instead of empty Vite SPA
1 parent 51d3e5f commit b5eebfe

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1825,7 +1825,9 @@ export default {
18251825
// ─── darren.acreetionos.org — proxy from GitHub raw ─────
18261826
if (url.hostname === 'darren.acreetionos.org') {
18271827
const RAW_BASE = 'https://raw.githubusercontent.com/spivanatalie64/darren/gh-pages';
1828-
let rawPath = url.pathname === '/' ? '/index.html' : url.pathname;
1828+
// Root serves /darren/index.html (the hand-crafted full page),
1829+
// not the empty Vite SPA at /index.html
1830+
let rawPath = url.pathname === '/' ? '/darren/index.html' : url.pathname;
18291831
const rawUrl = RAW_BASE + rawPath;
18301832
const rawRes = await fetch(rawUrl, {
18311833
headers: { 'User-Agent': CHROME_UA }

0 commit comments

Comments
 (0)