trk
CDCloudflare Developers
•Created by trk on 8/14/2024 in #workers-help
create a worker through dashboard at same host & url as a sveltekit cloudflare Pages app
I have a pages sveltekit app. I want to create a worker for rezising images, but can't get it running inside the app. I therefore want to create a separately worker using Cloudflare Workers, talk to it through an API inside my sveltekit app. I want to create the worker script through the CF dashboard.
My quest is, how can I host that worker at the same host / domain / URL as my svelte pages app? And put it at /image-resizing, for example, under root.
Instead of at a separate domain, which is where im getting directed by following the "create worker" button at Cf dashboard
3 replies