Commit 949133ec authored by nanahira's avatar nanahira

fix

parent 55621bc9
Pipeline #22334 failed with stages
in 60 minutes and 1 second
...@@ -129,7 +129,7 @@ async function getSiteData( ...@@ -129,7 +129,7 @@ async function getSiteData(
} else if (targetUrl.protocol.startsWith('redirect+')) { } else if (targetUrl.protocol.startsWith('redirect+')) {
specificRenderData = { specificRenderData = {
redirect: true, redirect: true,
upstream: targetUrl.href.slice(10), upstream: targetUrl.href.slice(9),
code: parser.getNumber('REDIRECT_CODE') || 301, code: parser.getNumber('REDIRECT_CODE') || 301,
} as RedirectRenderData; } as RedirectRenderData;
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment