koa-better-serve icon indicating copy to clipboard operation
koa-better-serve copied to clipboard

pathname can only be string

Open vastwu opened this issue 6 years ago • 0 comments

https://github.com/tunnckoCore/koa-better-serve/blob/9334ee3d530dc2219f7aa6d76acb78bb51c04660/src/index.js#L26

https://github.com/tunnckoCore/koa-better-serve/blob/9334ee3d530dc2219f7aa6d76acb78bb51c04660/src/index.js#L46-L48

https://github.com/tunnckoCore/koa-better-serve/blob/9334ee3d530dc2219f7aa6d76acb78bb51c04660/src/index.js#L51

i think the code only support pathname which to be a String

vastwu avatar Apr 08 '18 07:04 vastwu