fake-api-jwt-json-server icon indicating copy to clipboard operation
fake-api-jwt-json-server copied to clipboard

Allows for `/api/dishes` need more regex

Open kambleaa007 opened this issue 5 years ago • 0 comments

we get resp without having token in it,

http://localhost:3000/api/feedback

works fine without token in it,

server.use(/^(?!/auth).*$/ ); here ,Sucks,

good thing is, http://localhost:3000/ap works expected, as i did exposed my api, using server.use('/api',router); so its always accesible

kambleaa007 avatar Jul 16 '19 11:07 kambleaa007