diff options
author | 2024-02-10 18:19:14 -0700 | |
---|---|---|
committer | 2024-02-13 06:59:44 +0530 | |
commit | 7584d2d7a7110aef0331ebfa178b2295842c59fa (patch) | |
tree | 900cd71237e6231b57936fcce77ff229cd459041 /config/cors.ts | |
parent | upgrade recipes submodule (diff) | |
download | ferdium-server-7584d2d7a7110aef0331ebfa178b2295842c59fa.tar.gz ferdium-server-7584d2d7a7110aef0331ebfa178b2295842c59fa.tar.zst ferdium-server-7584d2d7a7110aef0331ebfa178b2295842c59fa.zip |
refactor: project maintenance
- work in progress
Diffstat (limited to 'config/cors.ts')
-rw-r--r-- | config/cors.ts | 15 |
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 | /** | 1 | import { 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 | ||
8 | import { CorsConfig } from '@ioc:Adonis/Core/Cors'; | 3 | const corsConfig = defineConfig({ |
9 | |||
10 | const 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 | ||
134 | export default corsConfig; | 127 | export default corsConfig |