Fix: Add dashboard redirect, copy icon, create placeholder pages, update auth API URL
This commit is contained in:
@@ -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`,
|
||||
|
||||
Reference in New Issue
Block a user