static: improve ModalButton performance by using manual redirects
This commit is contained in:
parent
2de4023d43
commit
afbecadba0
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -86,6 +86,7 @@ export class ModalButton extends LitElement {
|
||||||
fetch(this.href ? this.href : form.action, {
|
fetch(this.href ? this.href : form.action, {
|
||||||
method: form.method,
|
method: form.method,
|
||||||
body: formData,
|
body: formData,
|
||||||
|
redirect: "manual",
|
||||||
})
|
})
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
return response.text();
|
return response.text();
|
||||||
|
|
Reference in New Issue