update server.js
This commit is contained in:
parent
cef61dbe67
commit
ae1e2f1a1e
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ app.use(express.json());
|
||||||
|
|
||||||
|
|
||||||
// Routes
|
// Routes
|
||||||
// const generateRoute = require('./routes/generate');
|
const generateRoute = require('./routes/generate');
|
||||||
// app.use('/generate', generateRoute);
|
app.use('/generate', generateRoute);
|
||||||
|
|
||||||
app.listen(PORT, () => {
|
app.listen(PORT, () => {
|
||||||
console.log(`Server running on http://localhost:${PORT}`);
|
console.log(`Server running on http://localhost:${PORT}`);
|
||||||
|
|
Loading…
Reference in a new issue