Update app.js

This commit is contained in:
nune 2024-12-19 19:38:42 -05:00 committed by GitHub
parent 3ac7f784af
commit 71fc7aab22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
app.js
View File

@ -8,7 +8,7 @@ const PORT = process.env.PORT || 3000;
app.use(express.static('public'));
app.use(cookieParser());
const autoCopyDefault = process.env.AUTO_COPY_DEFAULT === 'false';
const autoCopyDefault = process.env.AUTO_COPY_DEFAULT === 'true';
app.get('/auto-copy-default', (req, res) => {
res.json({ autoCopyDefault });