tabletcommand-express-security
v4.1.16
Published
A middleware used to secure express services
Readme
tabletcommand-express-security
Used to create a layer of security via middleware for express services
Commands
npm install— install dependenciesnpm run build— compilesrctobuild/definitions(gulp)npm test— type-coverage check + run tests (src/test/*.ts)npm run lint— eslint onsrc
CORS domains
defaultCORSDomains (src/index.ts) is the CORS allow-list, covering prod/dev/qa/staging/pre variants of api, portal, and app, plus west domains (api-west.tabletcommand.com, portal-west.tabletcommand.com). Add new domains there and bump the package version.
