This commit is contained in:
Johannes
2025-05-30 05:36:46 +02:00
parent 3539a4c6f6
commit d968507484
8 changed files with 202 additions and 116 deletions

View File

@@ -5,4 +5,5 @@ console.log("ENV:", process.env.NEXT_PUBLIC_DISPATCH_SERVER_URL);
export const dispatchSocket: Socket = io(process.env.NEXT_PUBLIC_DISPATCH_SERVER_URL, {
autoConnect: false,
transports: ["websocket"],
});

View File

@@ -3,4 +3,5 @@ import { io, Socket } from "socket.io-client";
export const pilotSocket: Socket = io(process.env.NEXT_PUBLIC_DISPATCH_SERVER_URL, {
autoConnect: false,
transports: ["websocket"],
});

View File

@@ -27,6 +27,7 @@ export const options: AuthOptions = {
},
}),
],
secret: process.env.AUTH_HUB_SECRET,
session: {
strategy: "jwt",

View File

@@ -3,7 +3,7 @@ export const services = [
id: "1",
service: "dispatch",
name: "Leitstellendisposition",
approvedUrls: ["http://localhost:3001"],
approvedUrls: ["https://dispatch.premiumag.de"],
},
{
id: "2",