added promises exercise
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
const express = require('express');
|
||||
const app = express();
|
||||
|
||||
app.use(express.static('./'));
|
||||
|
||||
app.get('/api/contacts', getContacts);
|
||||
app.get('/api/contacts/:id', getContact);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user