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",
|
"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"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user