diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index b728469..4b0e6a0 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,3 +1,8 @@ +--- +import "leaflet/dist/leaflet.css" +import "toastify-js/src/toastify.css" +--- + @@ -5,25 +10,6 @@ - - - - diff --git a/src/scripts/index.ts b/src/scripts/index.ts index 63f6098..462cab4 100644 --- a/src/scripts/index.ts +++ b/src/scripts/index.ts @@ -52,7 +52,7 @@ const handleSubmit = async (e: SubmitEvent) => { if (res.status === 200) { const data = await res.json() - if (data.url) location.assign(`/x?id="${data.url}"`) + if (data.url) location.assign(`/x?id=${data.url}`) } else { toast("Konulu konum oluşturulamadı, lütfen tekrar deneyin.") }