Update proxying, swap /zammad and /link

This commit is contained in:
Darren Clarke 2025-02-06 13:03:31 +01:00
parent 2fd85f045c
commit 9283227074
24 changed files with 3317 additions and 2822 deletions

View file

@ -1,7 +1,7 @@
import { ServiceConfig } from "../lib/service";
const getQRCode = async (token: string): Promise<Record<string, string>> => {
const url = `/api/signal/bots/${token}`;
const url = `/link/api/signal/bots/${token}`;
const result = await fetch(url, { cache: "no-store" });
const { qr } = await result.json();

View file

@ -2,7 +2,7 @@ import { ServiceConfig } from "../lib/service";
// import { generateSelectOneAction } from "../lib/actions";
const getQRCode = async (token: string) => {
const url = `/api/whatsapp/bots/${token}`;
const url = `/link/api/whatsapp/bots/${token}`;
const result = await fetch(url, { cache: "no-store" });
const { qr } = await result.json();

View file

@ -11,7 +11,7 @@
"@mui/material": "^5",
"@mui/x-data-grid-pro": "^7.18.0",
"kysely": "0.26.1",
"next": "14.2.13",
"next": "^14.2.23",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-qr-code": "^2.0.15"