Mercurial
comparison benchmark/bun-http-framework-benchmark/src/node/adonis/config/cors.js @ 185:dfdd66825396
Merged in keep alive changes and mrjunejune changes.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 23 Jan 2026 22:22:30 -0800 |
| parents | a8976a008a9d |
| children |
comparison
equal
deleted
inserted
replaced
| 182:d6ab5921fedc | 185:dfdd66825396 |
|---|---|
| 1 "use strict"; | |
| 2 Object.defineProperty(exports, "__esModule", { value: true }); | |
| 3 const corsConfig = { | |
| 4 enabled: false, | |
| 5 origin: true, | |
| 6 methods: ['GET', 'HEAD', 'POST', 'PUT', 'DELETE'], | |
| 7 headers: true, | |
| 8 exposeHeaders: [ | |
| 9 'cache-control', | |
| 10 'content-language', | |
| 11 'content-type', | |
| 12 'expires', | |
| 13 'last-modified', | |
| 14 'pragma', | |
| 15 ], | |
| 16 credentials: true, | |
| 17 maxAge: 90, | |
| 18 }; | |
| 19 exports.default = corsConfig; | |
| 20 //# sourceMappingURL=cors.js.map |