hono 3.1.6 → 3.1.7
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 -1
- package/dist/context.js +1 -1
- package/package.json +1 -1
package/dist/cjs/context.js
CHANGED
|
@@ -127,7 +127,7 @@ class Context {
|
|
|
127
127
|
this._preparedHeaders = {};
|
|
128
128
|
}
|
|
129
129
|
if (this._preparedHeaders["content-type"]) {
|
|
130
|
-
this._preparedHeaders["content-type"] = "text/plain; charset=
|
|
130
|
+
this._preparedHeaders["content-type"] = "text/plain; charset=UTF-8";
|
|
131
131
|
}
|
|
132
132
|
return typeof arg === "number" ? this.newResponse(text, arg, headers) : this.newResponse(text, arg);
|
|
133
133
|
};
|
package/dist/context.js
CHANGED
|
@@ -113,7 +113,7 @@ var Context = class {
|
|
|
113
113
|
this._preparedHeaders = {};
|
|
114
114
|
}
|
|
115
115
|
if (this._preparedHeaders["content-type"]) {
|
|
116
|
-
this._preparedHeaders["content-type"] = "text/plain; charset=
|
|
116
|
+
this._preparedHeaders["content-type"] = "text/plain; charset=UTF-8";
|
|
117
117
|
}
|
|
118
118
|
return typeof arg === "number" ? this.newResponse(text, arg, headers) : this.newResponse(text, arg);
|
|
119
119
|
};
|