Add AdonisJs/Session

This commit is contained in:
2021-05-29 18:29:14 +02:00
parent 8b6edb94d8
commit 9356af5b85
7 changed files with 30 additions and 6 deletions

3
env.ts
View File

@@ -20,6 +20,7 @@ export default Env.rules({
APP_KEY: Env.schema.string(),
APP_NAME: Env.schema.string(),
APP_VERSION: Env.schema.string(),
APP_URL: Env.schema.string(),
NODE_ENV: Env.schema.enum(['development', 'production', 'testing'] as const),
REDIS_CONNECTION: Env.schema.enum(['local'] as const),
@@ -32,4 +33,6 @@ export default Env.rules({
MYSQL_USER: Env.schema.string(),
MYSQL_PASSWORD: Env.schema.string.optional(),
MYSQL_DB_NAME: Env.schema.string(),
SESSION_DRIVER: Env.schema.string()
})