feat: restore original rSpace-website landing page
Serve the original Next.js rSpace-website (MySpace / (ou)rSpace messaging) as the landing page at rspace.online/. Static export copied into website/public/ so Vite includes it in dist/. Server updated to serve landing.html at root with index.html fallback. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
dfb0325147
commit
7d9d4cbf8a
|
|
@ -808,8 +808,13 @@ for (const mod of getAllModules()) {
|
|||
|
||||
// ── Page routes ──
|
||||
|
||||
// Landing page: rspace.online/ → serve marketing/info page
|
||||
// Landing page: rspace.online/ → serve original rSpace-website landing
|
||||
app.get("/", async (c) => {
|
||||
const landing = Bun.file(resolve(DIST_DIR, "landing.html"));
|
||||
if (await landing.exists()) {
|
||||
return new Response(landing, { headers: { "Content-Type": "text/html" } });
|
||||
}
|
||||
// Fallback to index.html
|
||||
const file = Bun.file(resolve(DIST_DIR, "index.html"));
|
||||
if (await file.exists()) {
|
||||
return new Response(file, { headers: { "Content-Type": "text/html" } });
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,60798,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,11 @@
|
|||
self.__BUILD_MANIFEST = {
|
||||
"__rewrites": {
|
||||
"afterFiles": [],
|
||||
"beforeFiles": [],
|
||||
"fallback": []
|
||||
},
|
||||
"sortedPages": [
|
||||
"/_app",
|
||||
"/_error"
|
||||
]
|
||||
};self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB()
|
||||
|
|
@ -0,0 +1 @@
|
|||
[]
|
||||
|
|
@ -0,0 +1 @@
|
|||
self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB()
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue