From 00c4f3a5ee83f83de8bbfa1aea79996c52fecff4 Mon Sep 17 00:00:00 2001 From: Sonny Date: Sun, 8 May 2022 22:00:13 +0200 Subject: [PATCH] Stop tracking .env file + remove .env.local --- .env | 1 - .gitignore | 2 ++ example.env | 10 +++++++++- example.env.local | 7 ------- 4 files changed, 11 insertions(+), 9 deletions(-) delete mode 100644 .env delete mode 100644 example.env.local diff --git a/.env b/.env deleted file mode 100644 index 7602b9d..0000000 --- a/.env +++ /dev/null @@ -1 +0,0 @@ -DATABASE_URL="mysql://root:@localhost:3306/superpipo" \ No newline at end of file diff --git a/.gitignore b/.gitignore index c7c7e42..8ba76d6 100644 --- a/.gitignore +++ b/.gitignore @@ -33,4 +33,6 @@ yarn-error.log* # vercel .vercel + +# env file .env diff --git a/example.env b/example.env index d8c2c69..a77ca90 100644 --- a/example.env +++ b/example.env @@ -1 +1,9 @@ -DATABASE_URL="mysql://root:root@127.0.0.1:3306/MyDatabase" \ No newline at end of file +DATABASE_URL="mysql://root:root@127.0.0.1:3306/MyDatabase" + +NEXTAUTH_URL=http://localhost:3000 +NEXTAUTH_URL_INTERNAL=http://localhost:3000 + +NEXTAUTH_SECRET= + +GOOGLE_CLIENT_ID= +GOOGLE_CLIENT_SECRET= \ No newline at end of file diff --git a/example.env.local b/example.env.local deleted file mode 100644 index 62d04b4..0000000 --- a/example.env.local +++ /dev/null @@ -1,7 +0,0 @@ -NEXTAUTH_URL=http://localhost:3000 -NEXTAUTH_URL_INTERNAL=http://localhost:3000 - -NEXTAUTH_SECRET= - -GOOGLE_CLIENT_ID= -GOOGLE_CLIENT_SECRET= \ No newline at end of file