diff --git a/pages/collection/[id].vue b/pages/collection/[id].vue index befb3f75..957bc68b 100644 --- a/pages/collection/[id].vue +++ b/pages/collection/[id].vue @@ -412,8 +412,12 @@ try { await useAsyncData(`user/${collection.value.user}`, () => useBaseFetch(`user/${collection.value.user}`) ), - await useAsyncData(`projects?ids=${JSON.stringify(collection.value.projects)}]`, () => - useBaseFetch(`projects?ids=${JSON.stringify(collection.value.projects)}`) + await useAsyncData( + `projects?ids=${encodeURIComponent(JSON.stringify(collection.value.projects))}]`, + () => + useBaseFetch( + `projects?ids=${encodeURIComponent(JSON.stringify(collection.value.projects))}` + ) ), ]) } diff --git a/wrangler.toml b/wrangler.toml deleted file mode 100644 index 866f8d54..00000000 --- a/wrangler.toml +++ /dev/null @@ -1,9 +0,0 @@ -name = "knossos" -main = "./.output/server/index.mjs" -workers_dev = true -compatibility_date = "2022-07-12" -account_id = "9ddae624c98677d68d93df6e524a6061" -node_compat = true - -[site] -bucket = ".output/public"