Mercurial
view benchmark/bun-http-framework-benchmark/src/node/adonis/config/cors.js @ 270:358dd5950985
sync production config on every deploy
Always install the ignored repository .config into /etc/mrjunejune before promoting the new bundle.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 07 Aug 2026 13:16:47 -0700 |
| parents | a8976a008a9d |
| children |
line wrap: on
line source
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const corsConfig = { enabled: false, origin: true, methods: ['GET', 'HEAD', 'POST', 'PUT', 'DELETE'], headers: true, exposeHeaders: [ 'cache-control', 'content-language', 'content-type', 'expires', 'last-modified', 'pragma', ], credentials: true, maxAge: 90, }; exports.default = corsConfig; //# sourceMappingURL=cors.js.map