Route 路由

Node.js Route 路由

使用 Route

const express = require('express');
const router = express.Router();

router.get('/', (request, response) => {
  response.send('Hello World');
});

module.exports = router;