del console.log

This commit is contained in:
Sergey Yarkov 2023-02-27 23:18:30 +03:00
parent 2b0adea120
commit bd77867971
No known key found for this signature in database
GPG Key ID: E91CE1FABC619B6F

View File

@ -70,7 +70,6 @@ const t = useTranslation(Astro);
<script define:vars={{ slug, IS_DEV: import.meta.env.DEV }}> <script define:vars={{ slug, IS_DEV: import.meta.env.DEV }}>
(async () => { (async () => {
console.log(slug);
if (IS_DEV) return; if (IS_DEV) return;
const response = await fetch(`/api/views?slug=${slug}`, { method: "POST" }); const response = await fetch(`/api/views?slug=${slug}`, { method: "POST" });
if (!response.ok) return; if (!response.ok) return;