From 68fb998daca8652813d8013682d952f00f834330 Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Thu, 1 May 2025 17:33:37 +0200 Subject: [PATCH] feat(frontend): Switch from localhost to private IP --- .vscode/launch.json | 2 +- legalconsenthub/package.json | 2 +- legalconsenthub/server/utils/auth.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 827d5d1..43020b2 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -7,7 +7,7 @@ "type": "chrome", "request": "launch", "name": "client: chrome", - "url": "http://localhost:3001", + "url": "http://192.168.178.105:3001", "webRoot": "${workspaceFolder}/legalconsenthub" }, { diff --git a/legalconsenthub/package.json b/legalconsenthub/package.json index eb4996d..aa46e3b 100644 --- a/legalconsenthub/package.json +++ b/legalconsenthub/package.json @@ -4,7 +4,7 @@ "type": "module", "scripts": { "build": "nuxt build", - "dev": "nuxt dev --port 3001", + "dev": "nuxt dev --port 3001 --host", "generate": "nuxt generate", "preview": "nuxt preview", "postinstall": "nuxt prepare && pnpm run fix:bettersqlite", diff --git a/legalconsenthub/server/utils/auth.ts b/legalconsenthub/server/utils/auth.ts index d75e501..791c017 100644 --- a/legalconsenthub/server/utils/auth.ts +++ b/legalconsenthub/server/utils/auth.ts @@ -22,7 +22,7 @@ export const auth = betterAuth({ organization({ async sendInvitationEmail(data) { console.log('Sending invitation email', data) - const inviteLink = `http://localhost:3001/accept-invitation/${data.id}` + const inviteLink = `http://192.168.178.105:3001/accept-invitation/${data.id}` await resend.emails.send({ from: 'Acme ', to: data.email,