I have project build on top of create-react-app. Now, i want deploy with KoaJS. This is my code: server.js
const serve = require('koa-static');
const logger = require('koa-logger');
const Koa = require('koa');
const app = new Koa();
const port = process.env.SERVER_PORT;
app.use(logger());
app.use(serve(__dirname + '/build'));
app.listen(port);
console.log(`Kylin listening ${process.env.SERVER_ENV} on port ${port}`);
When i build, deploy and visit index (path: "/"), everything ok. But, when i visit another route, ex: /about, server response "Not found". What wrong? Somebody can help me plz!!!!