Update proxying, swap /zammad and /link
This commit is contained in:
parent
2fd85f045c
commit
9283227074
24 changed files with 3317 additions and 2822 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue