Update api.js

This commit is contained in:
xfarrow 2023-10-12 16:56:55 +02:00
parent 4356ec88a9
commit c6a0534794

View File

@ -26,7 +26,7 @@ const port = 3000;
// Middleware which parses JSON for POST requests
app.use(express.json());
app.post('/blinkapi/register', api_controller.register_async);
app.post('/blinkapi/register', api_controller.register);
// Start the server
app.listen(port, () => {