style updates

This commit is contained in:
lucas-neynar
2025-03-13 15:59:07 -07:00
parent ace806fcb9
commit 8ab3b4317b
3 changed files with 17 additions and 5 deletions

4
dev.js
View File

@@ -10,10 +10,10 @@ async function startDev() {
tunnel = await localtunnel({ port: 3000 });
console.log(`\n🌐 Local tunnel URL: ${tunnel.url}`);
// Start next dev with the tunnel URL as an environment variable
// Start next dev with the tunnel URL as relevant environment variables
nextDev = spawn('next', ['dev'], {
stdio: 'inherit',
env: { ...process.env, NEXT_PUBLIC_URL: tunnel.url }
env: { ...process.env, NEXT_PUBLIC_URL: tunnel.url, NEXTAUTH_URL: tunnel.url }
});
// Handle cleanup