refactor: add docker-compose in the gitignore

This commit is contained in:
Pierre Ryssen
2026-03-10 14:30:30 +01:00
parent 6c857b67a5
commit 0dca836cf5
2 changed files with 9 additions and 3 deletions

View File

@@ -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

View File

@@ -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);