mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 12:37:20 +00:00
added nextjs detection and added exception for auth redirection to also work inside stackblitz
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
import type { App } from "App";
|
||||
import { tbValidator as tb } from "core";
|
||||
import { StringEnum, Type, TypeInvalidError } from "core/utils";
|
||||
import { getRuntimeKey } from "core/utils";
|
||||
import type { Context, Hono } from "hono";
|
||||
import { Controller } from "modules/Controller";
|
||||
|
||||
@@ -292,7 +293,8 @@ export class SystemController extends Controller {
|
||||
return c.json({
|
||||
version: this.app.version(),
|
||||
test: 2,
|
||||
app: c.get("app")?.version()
|
||||
app: c.get("app")?.version(),
|
||||
runtime: getRuntimeKey()
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user