This commit is contained in:
2024-06-20 23:33:43 +01:00
parent 67ace14450
commit 951224f0ea
3 changed files with 3 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ require('dotenv').config();
const app = express();
const PORT = process.env.PORT || 3000;
const GITEA_SECRET = process.env.GITEA_SECRET
const counterFilePath = path.join(__dirname, 'public/json/wanderers.json');
const counterFilePath = path.join(__dirname, 'public/json/counter.json');
function readCounter() {
const data = fs.readFileSync(counterFilePath)