From ee2777ba12546d9f332b0257e4eccbc82baacb43 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sat, 8 Jun 2024 23:33:30 +0700 Subject: _www: support HTTP target with content type "text/html" --- _www/http_target.js | 4 ++++ _www/http_target.ts | 4 ++++ 2 files changed, 8 insertions(+) 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, -- cgit v1.3