Closed teawithfruit closed 2 years ago
Added excludedHosts to make communication between docker container possible without a token.
You can instead do something like this:
app.use((ctx, next) => { // detect if it's docker if (isDocker) return next(); return new CSRF({ ... })(ctx, next); });
Added excludedHosts to make communication between docker container possible without a token.