This commit is contained in:
Rutra
2026-05-13 11:50:22 +02:00
commit 2068229f89
128 changed files with 9215 additions and 0 deletions

22
config/app.js Normal file
View File

@@ -0,0 +1,22 @@
import env from '#start/env';
import app from '@adonisjs/core/services/app';
import { defineConfig } from '@adonisjs/core/http';
export const appKey = env.get('APP_KEY');
export const appUrl = env.get('APP_URL');
export const http = defineConfig({
generateRequestId: true,
allowMethodSpoofing: false,
useAsyncLocalStorage: false,
redirect: {
forwardQueryString: true,
},
cookie: {
domain: '',
path: '/',
maxAge: '2h',
httpOnly: true,
secure: app.inProduction,
sameSite: 'lax',
},
});
//# sourceMappingURL=app.js.map