Answer the question
In order to leave comments, you need to log in
Why inherit express applications?
Good morning, met the design:
const app = express();
const admin = express();
admin.get('/admin', (req, res) => {
res.send('admin');
});
app.get('/admin', admin);
const admin = express.Router();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question