hono 3.10.3 → 3.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/context.js +1 -3
- package/dist/context.js +1 -3
- package/package.json +1 -1
package/dist/cjs/context.js
CHANGED
|
@@ -140,9 +140,7 @@ class Context {
|
|
|
140
140
|
}
|
|
141
141
|
this._pH = {};
|
|
142
142
|
}
|
|
143
|
-
|
|
144
|
-
this._pH["content-type"] = TEXT_PLAIN;
|
|
145
|
-
}
|
|
143
|
+
this._pH["content-type"] = TEXT_PLAIN;
|
|
146
144
|
return typeof arg === "number" ? this.newResponse(text, arg, headers) : this.newResponse(text, arg);
|
|
147
145
|
};
|
|
148
146
|
this.json = (object, arg, headers) => {
|
package/dist/context.js
CHANGED
|
@@ -118,9 +118,7 @@ var Context = class {
|
|
|
118
118
|
}
|
|
119
119
|
this._pH = {};
|
|
120
120
|
}
|
|
121
|
-
|
|
122
|
-
this._pH["content-type"] = TEXT_PLAIN;
|
|
123
|
-
}
|
|
121
|
+
this._pH["content-type"] = TEXT_PLAIN;
|
|
124
122
|
return typeof arg === "number" ? this.newResponse(text, arg, headers) : this.newResponse(text, arg);
|
|
125
123
|
};
|
|
126
124
|
this.json = (object, arg, headers) => {
|