From 7e3444384b9b80e4384db84d41dd3607381ed9c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Tue, 2 Aug 2022 19:37:50 +0200 Subject: [PATCH] fix(document-driven): Only set 404 status on SSR (#1409) --- playground/document-driven/content/0.index.md | 2 ++ src/runtime/pages/document-driven.vue | 13 +++++-------- test/document-driven.test.ts | 2 +- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/playground/document-driven/content/0.index.md b/playground/document-driven/content/0.index.md index 59ac8a874..008e5beae 100644 --- a/playground/document-driven/content/0.index.md +++ b/playground/document-driven/content/0.index.md @@ -7,3 +7,5 @@ description: Hello, here is a description # Home Hello World! + +[404](/404) diff --git a/src/runtime/pages/document-driven.vue b/src/runtime/pages/document-driven.vue index 21b1a7f66..f45d9e1a7 100644 --- a/src/runtime/pages/document-driven.vue +++ b/src/runtime/pages/document-driven.vue @@ -1,15 +1,12 @@