mirror of
https://github.com/morten-olsen/http.md.git
synced 2026-02-08 00:46:28 +01:00
feat: auto set env to host envs
This commit is contained in:
@@ -36,7 +36,7 @@ class Context {
|
|||||||
|
|
||||||
constructor(options: ContextOptions = {}) {
|
constructor(options: ContextOptions = {}) {
|
||||||
this.input = options.input || {};
|
this.input = options.input || {};
|
||||||
this.env = options.env || {};
|
this.env = options.env || process.env;
|
||||||
this.requests = options.requests || {};
|
this.requests = options.requests || {};
|
||||||
this.responses = options.responses || {};
|
this.responses = options.responses || {};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user