Files
portfolio2023/build/config/cors.js
T
2023-11-25 00:01:46 +01:00

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