aboutsummaryrefslogtreecommitdiffstats
path: root/config/cors.ts
diff options
context:
space:
mode:
Diffstat (limited to 'config/cors.ts')
-rw-r--r--config/cors.ts15
1 files changed, 4 insertions, 11 deletions
diff --git a/config/cors.ts b/config/cors.ts
index dc0e3f6..911326f 100644
--- a/config/cors.ts
+++ b/config/cors.ts
@@ -1,13 +1,6 @@
1/** 1import { defineConfig } from '@adonisjs/cors'
2 * Config source: https://git.io/JfefC
3 *
4 * Feel free to let us know via PR, if you find something broken in this config
5 * file.
6 */
7 2
8import { CorsConfig } from '@ioc:Adonis/Core/Cors'; 3const corsConfig = defineConfig({
9
10const corsConfig: CorsConfig = {
11 /* 4 /*
12 |-------------------------------------------------------------------------- 5 |--------------------------------------------------------------------------
13 | Enabled 6 | Enabled
@@ -129,6 +122,6 @@ const corsConfig: CorsConfig = {
129 | 122 |
130 */ 123 */
131 maxAge: 90, 124 maxAge: 90,
132}; 125})
133 126
134export default corsConfig; 127export default corsConfig