Doesn't need to be async

This commit is contained in:
Daniel Lugo 2022-01-29 15:21:51 -05:00
parent 8bcb3a7e85
commit 449bba1913

View file

@ -2630,7 +2630,7 @@ module.exports = async (
}
})
app.get('/api/accessInfo', async (req, res) => {
app.get('/api/accessInfo', (req, res) => {
if (req.ip !== '127.0.0.1') {
res.json({
field: 'origin',