mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui-next: enable for all pages
This commit is contained in:
1 file changed
+1
-1
@@ -75,7 +75,7 @@ export async function apply(ctx: Context) {
|
|||||||
const html = fs.readFileSync(path.join(__dirname, 'index.html'), 'utf-8');
|
const html = fs.readFileSync(path.join(__dirname, 'index.html'), 'utf-8');
|
||||||
ctx.server.registerRenderer('next', {
|
ctx.server.registerRenderer('next', {
|
||||||
name: 'next',
|
name: 'next',
|
||||||
accept: ['main.html'],
|
accept: [],
|
||||||
output: 'html',
|
output: 'html',
|
||||||
asFallback: false,
|
asFallback: false,
|
||||||
priority: 100,
|
priority: 100,
|
||||||
|
|||||||
Reference in new issue
Block a user