mirror of
https://github.com/gigirassy/plaster.git
synced 2024-12-23 10:29:07 +00:00
Update app.js
This commit is contained in:
parent
3ac7f784af
commit
71fc7aab22
2
app.js
2
app.js
@ -8,7 +8,7 @@ const PORT = process.env.PORT || 3000;
|
|||||||
app.use(express.static('public'));
|
app.use(express.static('public'));
|
||||||
app.use(cookieParser());
|
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) => {
|
app.get('/auto-copy-default', (req, res) => {
|
||||||
res.json({ autoCopyDefault });
|
res.json({ autoCopyDefault });
|
||||||
|
Loading…
Reference in New Issue
Block a user