From cd794a163734dfd76003cb8ad25466b225ff508f Mon Sep 17 00:00:00 2001 From: pilcrowOnPaper <80624252+pilcrowOnPaper@users.noreply.github.com> Date: Sun, 16 Jul 2023 00:50:06 +0900 Subject: [PATCH] Remove `.env` from examples (#834) --- examples/nextjs-app/github-oauth/.env | 2 -- examples/nextjs-app/github-oauth/.gitignore | 1 + examples/nextjs-pages/github-oauth/.env | 2 -- examples/nextjs-pages/github-oauth/.gitignore | 3 ++- 4 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 examples/nextjs-app/github-oauth/.env delete mode 100644 examples/nextjs-pages/github-oauth/.env diff --git a/examples/nextjs-app/github-oauth/.env b/examples/nextjs-app/github-oauth/.env deleted file mode 100644 index 4b502e7a7..000000000 --- a/examples/nextjs-app/github-oauth/.env +++ /dev/null @@ -1,2 +0,0 @@ -GITHUB_CLIENT_ID="ffc6a28f55910c8f977a" -GITHUB_CLIENT_SECRET="33a5dc2e93fe2712a8b74cac5bd595fe72ba3ed4" \ No newline at end of file diff --git a/examples/nextjs-app/github-oauth/.gitignore b/examples/nextjs-app/github-oauth/.gitignore index ae343bc70..e973adf52 100644 --- a/examples/nextjs-app/github-oauth/.gitignore +++ b/examples/nextjs-app/github-oauth/.gitignore @@ -35,3 +35,4 @@ yarn-error.log* next-env.d.ts main.db +.env \ No newline at end of file diff --git a/examples/nextjs-pages/github-oauth/.env b/examples/nextjs-pages/github-oauth/.env deleted file mode 100644 index 4b502e7a7..000000000 --- a/examples/nextjs-pages/github-oauth/.env +++ /dev/null @@ -1,2 +0,0 @@ -GITHUB_CLIENT_ID="ffc6a28f55910c8f977a" -GITHUB_CLIENT_SECRET="33a5dc2e93fe2712a8b74cac5bd595fe72ba3ed4" \ No newline at end of file diff --git a/examples/nextjs-pages/github-oauth/.gitignore b/examples/nextjs-pages/github-oauth/.gitignore index 2e1acbfeb..e973adf52 100644 --- a/examples/nextjs-pages/github-oauth/.gitignore +++ b/examples/nextjs-pages/github-oauth/.gitignore @@ -34,4 +34,5 @@ yarn-error.log* *.tsbuildinfo next-env.d.ts -main.db \ No newline at end of file +main.db +.env \ No newline at end of file