nuxt-basic-auth-module icon indicating copy to clipboard operation
nuxt-basic-auth-module copied to clipboard

Disable for proxy

Open nelhop opened this issue 4 years ago • 0 comments

When a proxy is used (i.e. with axios) the auth-module also restricts access to the proxy routes, which makes a api call impossible. Is there a way do disable the authentication for all proxy routes?

I tried it with regex (/^((?!api-route1|api-route2).)*$/) in the match option, but this seems not to work.

nelhop avatar Oct 01 '21 12:10 nelhop