diff --git a/lib/render.js b/lib/render.js index 020f1cba45..4864a0f4d2 100644 --- a/lib/render.js +++ b/lib/render.js @@ -94,9 +94,7 @@ export async function renderRoute (url, context = {}) { } const m = context.meta.inject() let HEAD = m.meta.text() + m.title.text() + m.link.text() + m.style.text() + m.script.text() + m.noscript.text() - if (self.options.router.base !== '/') { - HEAD += `` - } + HEAD += `` HEAD += context.renderResourceHints() + context.renderStyles() APP += `` APP += context.renderScripts()