From 1b97addab85465cadee6964dd5670dda7ad21458 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 26 Jan 2025 18:13:17 -0400 Subject: write: swap between to/absoluteTo based on page absoluteLinks --- src/write/build-modes/live-dev-server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/write/build-modes/live-dev-server.js') diff --git a/src/write/build-modes/live-dev-server.js b/src/write/build-modes/live-dev-server.js index dd29c93e..28969de2 100644 --- a/src/write/build-modes/live-dev-server.js +++ b/src/write/build-modes/live-dev-server.js @@ -458,7 +458,7 @@ export async function go({ language, pagePath: servePath, pagePathStringFromRoot: pathname.replace(/^\//, ''), - to, + to: page.absoluteLinks ? absoluteTo : to, }); const topLevelResult = -- cgit 1.3.0-6-gf8a5