feat(frontend): Switch from localhost to private IP

This commit is contained in:
2025-05-01 17:33:37 +02:00
parent aee88ad261
commit 68fb998dac
3 changed files with 3 additions and 3 deletions

2
.vscode/launch.json vendored
View File

@@ -7,7 +7,7 @@
"type": "chrome", "type": "chrome",
"request": "launch", "request": "launch",
"name": "client: chrome", "name": "client: chrome",
"url": "http://localhost:3001", "url": "http://192.168.178.105:3001",
"webRoot": "${workspaceFolder}/legalconsenthub" "webRoot": "${workspaceFolder}/legalconsenthub"
}, },
{ {

View File

@@ -4,7 +4,7 @@
"type": "module", "type": "module",
"scripts": { "scripts": {
"build": "nuxt build", "build": "nuxt build",
"dev": "nuxt dev --port 3001", "dev": "nuxt dev --port 3001 --host",
"generate": "nuxt generate", "generate": "nuxt generate",
"preview": "nuxt preview", "preview": "nuxt preview",
"postinstall": "nuxt prepare && pnpm run fix:bettersqlite", "postinstall": "nuxt prepare && pnpm run fix:bettersqlite",

View File

@@ -22,7 +22,7 @@ export const auth = betterAuth({
organization({ organization({
async sendInvitationEmail(data) { async sendInvitationEmail(data) {
console.log('Sending invitation email', 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({ await resend.emails.send({
from: 'Acme <onboarding@resend.dev>', from: 'Acme <onboarding@resend.dev>',
to: data.email, to: data.email,