fix preset prefix

This commit is contained in:
musistudio
2025-12-30 18:25:27 +08:00
parent 7400941ae8
commit 21d35e3d4c
2 changed files with 2 additions and 2 deletions

View File

@@ -138,7 +138,7 @@ async function getServer(options: RunOptions = {}) {
});
await Promise.allSettled(
presets.map(async preset => await serverInstance.registerNamespace(preset.name, preset.config))
presets.map(async preset => await serverInstance.registerNamespace(`/preset/${preset.name}`, preset.config))
)
// Add async preHandler hook for authentication