1 parent c060e47 commit 420cac3Copy full SHA for 420cac3
1 file changed
assets/dashboard.html
@@ -944,11 +944,7 @@ <h5 class="mb-3">Body</h5>
944
newIP: "",
945
responseType: /** @type {"capture" | "template"} */ (Object.entries(bin.responding)[0][0]),
946
newResponseHeader: "",
947
- template: template !== undefined ? {
948
- status: template.status,
949
- headers: template.headers,
950
- body: template.body,
951
- } : defaultTemplate,
+ template: template !== undefined ? JSON.parse(JSON.stringify(template)) : defaultTemplate,
952
}
953
} else {
954
this.updatingBin = {
0 commit comments