mirror of
https://github.com/xfarrow/blink
synced 2025-03-27 13:10:05 +01:00
Update api.js
This commit is contained in:
parent
4356ec88a9
commit
c6a0534794
@ -26,7 +26,7 @@ const port = 3000;
|
|||||||
// Middleware which parses JSON for POST requests
|
// Middleware which parses JSON for POST requests
|
||||||
app.use(express.json());
|
app.use(express.json());
|
||||||
|
|
||||||
app.post('/blinkapi/register', api_controller.register_async);
|
app.post('/blinkapi/register', api_controller.register);
|
||||||
|
|
||||||
// Start the server
|
// Start the server
|
||||||
app.listen(port, () => {
|
app.listen(port, () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user