diff options
author | MCMXC <16797721+mcmxcdev@users.noreply.github.com> | 2024-02-10 18:19:14 -0700 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2024-02-17 21:51:20 +0530 |
commit | a61e73c33b2e80d5af58e3dcfa2efe74245cd065 (patch) | |
tree | d5343ad245b4156662920896dedf14d9284051f8 /config/cors.ts | |
parent | upgrade node to 20.11.1 and other minor versions for pkgs (#104) (diff) | |
download | ferdium-server-a61e73c33b2e80d5af58e3dcfa2efe74245cd065.tar.gz ferdium-server-a61e73c33b2e80d5af58e3dcfa2efe74245cd065.tar.zst ferdium-server-a61e73c33b2e80d5af58e3dcfa2efe74245cd065.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 |