Mercurial
comparison benchmark/bun-http-framework-benchmark/src/node/adonis/config/cors.js @ 183:a8976a008a9d
[BenchMark] Added bun bench mark to test seoboe vs other popular benchmarks.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 23 Jan 2026 21:19:08 -0800 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 179:8d17f6e6e290 | 183:a8976a008a9d |
|---|---|
| 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 |