mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-14 19:44:03 +00:00
footer
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<. include!("../../../components/headers.html"); .>
|
||||
<. include!("../../navbar/index.html"); .>
|
||||
<div class="tmp-layout">
|
||||
<. include!("../../header/index.html"); .>
|
||||
|
||||
<main class="panel-main">
|
||||
|
||||
@@ -54,7 +54,7 @@ const submit = async (e: Event) => {
|
||||
const res = await fetch(formUrl, genJsonPayload(payload));
|
||||
if (res.ok) {
|
||||
alert('success');
|
||||
window.location.assign(VIEWS.sitekey);
|
||||
window.location.assign(VIEWS.listSitekey);
|
||||
} else {
|
||||
const err = await res.json();
|
||||
alert(`error: ${err.error}`);
|
||||
|
||||
Reference in New Issue
Block a user