Doesn't need to be async
This commit is contained in:
parent
8bcb3a7e85
commit
449bba1913
1 changed files with 1 additions and 1 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue