Closed web-padawan closed 8 years ago
very useful, thanks! released in version 1.2.2.
please add serguey.kulikov@gmail.com
to your email address list.. this email address is not yet registered with github so you do not show as a contributor.. after you add it, you will show on the contributor list.
if you have any more issues, let me know!
Current SPA mode doesn't work as desired with static assets. When the requested file (containing dot chatacter, e. g.
index.js
) does not exist, it redirects toindex.html
instead of 404.I suggest using koa-connect-history-api-fallback instead, which seems to be appropriate for such cases. As it is described here, we need to place the historyApiFallback before the
static
handler.