refactor: add docker-compose in the gitignore
This commit is contained in:
10
.env.example
10
.env.example
@@ -12,6 +12,12 @@
|
||||
DATABASE_URL="postgresql://wyview:wyview@localhost:5432/wyview"
|
||||
|
||||
NEXT_PUBLIC_PASSWORD=Azerty123
|
||||
NEXTAUTH_SECRET=secret
|
||||
NEXTAUTH_SECRET=unsecretaleatoire
|
||||
NEXTAUTH_URL=http://localhost:3000
|
||||
AUTH_SECRET="openssl rand -base64 32"
|
||||
AUTH_SECRET=secretaleatoire
|
||||
|
||||
# TikTok API credentials
|
||||
TIKTOK_CLIENT_KEY=*******
|
||||
TIKTOK_CLIENT_SECRET=*******
|
||||
TIKTOK_REDIRECT_URI_DEV=http://localhost:3000/api/tiktok/callback
|
||||
TIKTOK_REDIRECT_URI_PROD=https://marouette.fun/api/tiktok/callback
|
||||
|
||||
@@ -37,7 +37,7 @@ export default function AuthPage() {
|
||||
});
|
||||
|
||||
if (result?.ok) {
|
||||
router.push("/dashboard");
|
||||
window.location.href = "/dashboard";
|
||||
} else {
|
||||
setLoginError("Email ou mot de passe incorrect.");
|
||||
setLoginLoading(false);
|
||||
|
||||
Reference in New Issue
Block a user