This commit is contained in:
Tutur33
2023-11-25 00:01:46 +01:00
parent 938ad9d309
commit cb411653c8
27388 changed files with 18691 additions and 3339152 deletions
+17
View File
@@ -0,0 +1,17 @@
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const Env_1 = __importDefault(global[Symbol.for('ioc.use')]("Adonis/Core/Env"));
exports.default = Env_1.default.rules({
HOST: Env_1.default.schema.string({ format: 'host' }),
PORT: Env_1.default.schema.number(),
APP_KEY: Env_1.default.schema.string(),
APP_NAME: Env_1.default.schema.string(),
CACHE_VIEWS: Env_1.default.schema.boolean(),
SESSION_DRIVER: Env_1.default.schema.string(),
DRIVE_DISK: Env_1.default.schema.enum(['local']),
NODE_ENV: Env_1.default.schema.enum(['development', 'production', 'test']),
});
//# sourceMappingURL=env.js.map