chore: change url
All checks were successful
/ Build (push) Successful in 44s

This commit is contained in:
log101 2024-07-29 22:19:00 +03:00
parent 165d969c84
commit 08a82bfcf3

View File

@ -55,7 +55,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/${data.url}`)
} else {
toast("Konulu konum oluşturulamadı, lütfen tekrar deneyin.")
}