From d99c7a783af57df8cf4103c9c904351613a11202 Mon Sep 17 00:00:00 2001 From: kodatemitsuru Date: Mon, 6 Jan 2025 19:45:48 +0800 Subject: [PATCH] fix: fix typo && add gitignore --- .gitignore | 4 +++- index.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 600d2d3..4b19d5f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -.vscode \ No newline at end of file +.vscode +node_modules +pnpm-lock.yaml \ No newline at end of file diff --git a/index.js b/index.js index b8d1121..c4a3902 100644 --- a/index.js +++ b/index.js @@ -6,7 +6,7 @@ app.use(express.json()); const REDIS_URL = process.env.REDIS_URL || "redis://localhost:6379"; const redis = new Redis(REDIS_URL); -const Secret = process.env.SECRECT || "password"; +const Secret = process.env.SECRET || "password"; const corsOptions = { origin: "*",