Local development over local origin
Hey 👋
I have a local origin,
http://localhost:5000
, and a worker that only responds to routes that start with /api/*
. I would like to test this locally, as if I had a worker set up over an origin hosting that app with as route /api/*
. I've tried using --host "http://localhost:5000"
and --local-upstream "http://localhost:5000"
, but both of these seemed to always make my worker 404. Same if I added --route "/api/*
.
Is it possible to do this? If so, how?1 Reply
Okay, I can do that. Thank you!