From 4468137c8adde3c305e716748406d842354f44c6 Mon Sep 17 00:00:00 2001 From: Cailean Finn Date: Tue, 18 Jun 2024 21:44:53 +0100 Subject: [PATCH] env --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 30a4d59..ffa59e8 100644 --- a/server.js +++ b/server.js @@ -7,7 +7,7 @@ require('dotenv').config(); const app = express(); const PORT = process.env.PORT || 3000; -const GITEA_SECRET = "123" +const GITEA_SECRET = process.env.GITEA_SECRET // Serve static files from the 'public' directory app.use(express.static(path.join(__dirname, 'public')));