diff options
| author | Shulhan <ms@kilabit.info> | 2024-06-08 23:33:30 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-06-08 23:33:30 +0700 |
| commit | ee2777ba12546d9f332b0257e4eccbc82baacb43 (patch) | |
| tree | bf46722f73ccd9fdc33eaa5808bdb8ac51ab9820 | |
| parent | a36f12356cdceda9e437ebf50bea1f370b25c716 (diff) | |
| download | gorankusu-ee2777ba12546d9f332b0257e4eccbc82baacb43.tar.xz | |
_www: support HTTP target with content type "text/html"
| -rw-r--r-- | _www/http_target.js | 4 | ||||
| -rw-r--r-- | _www/http_target.ts | 4 |
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, |
