comparison benchmark/bun-http-framework-benchmark/src/node/adonis/config/cors.js @ 186:8cf4ec5e2191 hg-web

Fixed merge conflict.
author MrJuneJune <me@mrjunejune.com>
date Fri, 23 Jan 2026 22:38:59 -0800
parents a8976a008a9d
children
comparison
equal deleted inserted replaced
176:fed99fc04e12 186:8cf4ec5e2191
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