mirror of
https://github.com/xfarrow/blink
synced 2025-06-27 09:03:02 +02:00
Update api.js
This commit is contained in:
@ -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, () => {
|
||||
|
Reference in New Issue
Block a user