mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-03 23:36:21 +02:00
20 lines
481 B
JavaScript
20 lines
481 B
JavaScript
"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
|