feat: add SEO fundamentals (robots.txt, sitemap, OG tags, JSON-LD, canonical) and 404 page
Some checks failed
Build & Deploy to Staging / Build & Deploy to Staging (push) Failing after 10m2s

This commit is contained in:
OpenClaw 2026-02-20 11:02:11 +00:00
parent db0d4eeed2
commit abf66d8017
5 changed files with 98 additions and 1 deletions

View file

@ -130,7 +130,7 @@ app.use((req, res) => {
if (req.path.startsWith("/v1/") || req.path.startsWith("/api")) {
res.status(404).json({ error: "Not Found: " + req.method + " " + req.path });
} else {
res.status(404).sendFile(path.join(__dirname, "../public/index.html"));
res.status(404).sendFile(path.join(__dirname, "../public/404.html"));
}
});