?get=nobasic
Massimo Melina committed
Jun 15, 2024 at 13:08 UTC
3a7707dbc9751544ca7dbb6967d2d83ccf6f86fd
1 file changed
+1
-1
src/basicWeb.ts
+1
-1
@@ -28,7 +28,7 @@ export function basicWeb(ctx: Koa.Context, node: VfsNode) {
28
return true
29
}
30
const forced = get === 'basic'
31
- if (forced || detectBasicAgent(ctx)) {
31
+ if (forced || detectBasicAgent(ctx) && get !== 'nobasic') {
32
ctx.type = 'html'
33
const force = forced ? '?get=basic' : ''
34
const walker = walkNode(node, { ctx, depth: 0 })