feat(frontend): Switch from localhost to private IP
This commit is contained in:
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@@ -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"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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 <onboarding@resend.dev>',
|
||||
to: data.email,
|
||||
|
||||
Reference in New Issue
Block a user