I have a url
https://shieldcoat.wstd.io/university/shieldcoat-quick-dry-roof-coating-how-long-between-coats?v=oJFYhoSwskgI have a collection that is supposed to pull data from a cloudflare worker I have that strips the v=oJFYhoSwskg to get captions from the id on youtube then return the captions as json so I can add it to my page.
When I use shieldcoat-quick-dry-roof-coating-how-long-between-coats?v=oJFYhoSwskg on the dyanmic slug inside of webstudio it works but when I publish it doesnt work and I get an error on my worker
message:
"Invalid video ID format",
$workers:
{
event:
{
request:
{
url:
"
https://youtube-captions.adrian-b0e.workers.dev/does-shieldcoat-thermabond-really-reduce-heat-scientific-proof-of-25-30-energy-savings",
method:
"POST",
path:
"/does-shieldcoat-thermabond-really-reduce-heat-scientific-proof-of-25-30-energy-savings"
}
},
this implies that even though my webpage has the url param webstudio doesnt have that path and it is stripping the url param. Is this correct?
Ideally I want this to be pull server side so that it assists with SEO, I know I can correct this with a client side script.