fix: capabilities endpoint
This commit is contained in:
2
index.js
2
index.js
@@ -466,7 +466,7 @@ app.get('/api/node/status', async (req, res) => {
|
||||
});
|
||||
|
||||
// Proxy endpoint to get node capabilities (optionally for a specific node via ?ip=)
|
||||
app.get('/api/capabilities', async (req, res) => {
|
||||
app.get('/api/node/capabilities', async (req, res) => {
|
||||
try {
|
||||
const { ip } = req.query;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user