mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-07-16 05:13:36 +00:00
fix: monitoring defaults not saving and OIDC redirect issues
This commit is contained in:
@@ -808,9 +808,9 @@ wss.on("connection", async (ws: WebSocket, req) => {
|
||||
case "opkssh_start_auth": {
|
||||
const opksshData = data as { hostId: number };
|
||||
try {
|
||||
const { startOPKSSHAuth, getRequestOrigin } = await import(
|
||||
"./opkssh-auth.js"
|
||||
);
|
||||
const { startOPKSSHAuth } = await import("./opkssh-auth.js");
|
||||
const { getRequestOrigin } =
|
||||
await import("../utils/request-origin.js");
|
||||
const db = getDb();
|
||||
const hostRow = await db
|
||||
.select()
|
||||
|
||||
Reference in New Issue
Block a user