aboutsummaryrefslogtreecommitdiffstats
path: root/config/cors.ts
diff options
context:
space:
mode:
authorLibravatar MCMXC <16797721+mcmxcdev@users.noreply.github.com>2024-02-10 18:19:14 -0700
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2024-02-13 06:59:44 +0530
commit7584d2d7a7110aef0331ebfa178b2295842c59fa (patch)
tree900cd71237e6231b57936fcce77ff229cd459041 /config/cors.ts
parentupgrade recipes submodule (diff)
downloadferdium-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.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