mirror of
https://github.com/sergeyyarkov/yarkov.tech.git
synced 2026-10-11 10:29:21 +03:00
del console.log
This commit is contained in:
parent
2b0adea120
commit
bd77867971
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user