aboutsummaryrefslogtreecommitdiff
path: root/_www
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-06-08 23:33:30 +0700
committerShulhan <ms@kilabit.info>2024-06-08 23:33:30 +0700
commitee2777ba12546d9f332b0257e4eccbc82baacb43 (patch)
treebf46722f73ccd9fdc33eaa5808bdb8ac51ab9820 /_www
parenta36f12356cdceda9e437ebf50bea1f370b25c716 (diff)
downloadgorankusu-ee2777ba12546d9f332b0257e4eccbc82baacb43.tar.xz
_www: support HTTP target with content type "text/html"
Diffstat (limited to '_www')
-rw-r--r--_www/http_target.js4
-rw-r--r--_www/http_target.ts4
2 files changed, 8 insertions, 0 deletions
diff --git a/_www/http_target.js b/_www/http_target.js
index 965dd20..9d52264 100644
--- a/_www/http_target.js
+++ b/_www/http_target.js
@@ -162,6 +162,10 @@ export class HTTPTarget {
value: "json",
selected: ct === "json",
},
+ "text/html": {
+ value: "text/html",
+ selected: ct === "html",
+ },
},
class_input: CLASS_INPUT,
class_label: CLASS_INPUT_LABEL,
diff --git a/_www/http_target.ts b/_www/http_target.ts
index 462b3ff..0b4597a 100644
--- a/_www/http_target.ts
+++ b/_www/http_target.ts
@@ -195,6 +195,10 @@ export class HTTPTarget {
value: "json",
selected: ct === "json",
},
+ "text/html": {
+ value: "text/html",
+ selected: ct === "html",
+ },
},
class_input: CLASS_INPUT,
class_label: CLASS_INPUT_LABEL,