Skip to content

Instantly share code, notes, and snippets.

@blackstuend
Created November 13, 2018 07:40
Show Gist options
  • Save blackstuend/8c58c96a4fe58f09be642b2d365c932b to your computer and use it in GitHub Desktop.
Save blackstuend/8c58c96a4fe58f09be642b2d365c932b to your computer and use it in GitHub Desktop.
  • 進行koa.router時,static 所指向的資料夾位置也會跟著router。
.get('/account/login',content.login)  //此時我public的css 和 js都會變成/account/css 底下...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment