This commit is contained in:
Rutra
2026-05-04 14:16:59 +02:00
commit 03a14da804
60 changed files with 10549 additions and 0 deletions

12
start/env.js Normal file
View File

@@ -0,0 +1,12 @@
import { Env } from '@adonisjs/core/env';
export default await Env.create(new URL('../', import.meta.url), {
NODE_ENV: Env.schema.enum(['development', 'production', 'test']),
PORT: Env.schema.number(),
APP_KEY: Env.schema.string(),
HOST: Env.schema.string({ format: 'host' }),
LOG_LEVEL: Env.schema.string(),
SESSION_DRIVER: Env.schema.enum(['cookie', 'memory']),
AUTH_USERNAME: Env.schema.string(),
AUTH_PASSWORD: Env.schema.string(),
});
//# sourceMappingURL=env.js.map