404 not rendering, repro state for astro
This commit is contained in:
parent
f0acf61023
commit
d55df413cd
10 changed files with 10 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ import node from "@astrojs/node";
|
|||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
output: "static",
|
||||
output: "server",
|
||||
prefetch: true,
|
||||
site: "https://lio.cat",
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
export const prerender = true
|
||||
import MainLayout from "~/layouts/main.astro"
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
export const prerender = true
|
||||
import PostList from "~/components/astro/post-list.astro"
|
||||
import { de, en } from "~/config"
|
||||
import { getLangFromUrl } from "~/i18n/utils"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
export const prerender = true
|
||||
import Footer from "~/components/astro/footer.astro"
|
||||
import Intro from "~/components/astro/intro.astro"
|
||||
import RecentBlogs from "~/components/astro/recent-blogs.astro"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
export const prerender = true
|
||||
import { render } from "astro:content"
|
||||
import { langs } from "~/i18n/ui"
|
||||
import { getLangFromUrl } from "~/i18n/utils"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
export const prerender = true
|
||||
import { getCollection, type CollectionEntry } from "astro:content"
|
||||
import fs from "fs"
|
||||
import { join, resolve } from "node:path"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
export const prerender = true
|
||||
import rss from "@astrojs/rss"
|
||||
import { de, en } from "~/config"
|
||||
import { getPostsByLocale } from "~/utils"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
export const prerender = true
|
||||
import TagComponent from "~/components/astro/tag.astro"
|
||||
import { langs } from "~/i18n/ui"
|
||||
import { getPostsByLocale } from "~/utils"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
export const prerender = true
|
||||
import { defaultLanguage } from "~/config"
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
export const prerender = true
|
||||
import rss from "@astrojs/rss"
|
||||
import { de, defaultLanguage, en } from "~/config"
|
||||
import { getPostsByLocale } from "~/utils"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue