Fix: Add dashboard redirect, copy icon, create placeholder pages, update auth API URL

This commit is contained in:
Usman Baig
2026-01-16 13:52:45 +01:00
parent 35e8c5b453
commit 481a35b383
6 changed files with 152 additions and 1 deletions

View File

@@ -9,6 +9,11 @@ const nextConfig: NextConfig = {
async redirects() {
const authUrl = process.env.NEXT_PUBLIC_AUTH_URL || 'https://auth.ciphera.net'
return [
{
source: '/dashboard',
destination: '/',
permanent: false,
},
{
source: '/login',
destination: `${authUrl}/login?client_id=analytics-app&redirect_uri=${encodeURIComponent((process.env.NEXT_PUBLIC_APP_URL || 'http://localhost:3003') + '/auth/callback')}&response_type=code`,