Mercurial
diff benchmark/bun-http-framework-benchmark/src/node/adonis/env.js @ 185:dfdd66825396
Merged in keep alive changes and mrjunejune changes.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 23 Jan 2026 22:22:30 -0800 |
| parents | a8976a008a9d |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/benchmark/bun-http-framework-benchmark/src/node/adonis/env.js Fri Jan 23 22:22:30 2026 -0800 @@ -0,0 +1,15 @@ +"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(), + DRIVE_DISK: Env_1.default.schema.enum(['local']), + NODE_ENV: Env_1.default.schema.enum(['development', 'production', 'test']), +}); +//# sourceMappingURL=env.js.map \ No newline at end of file