cloudflare / worker-template-router

231 stars 85 forks source link

needs root route #5

Closed ashleygwilliams closed 5 years ago

ashleygwilliams commented 5 years ago

this template works beautifully with wrangler, however the publish experience could be slightly improved.

when this worker is pushed to a route, wrangler will say "go visit your worker at defined route"

however, there is no root route defined in the worker, so the user may see an empty page or something confusing.

to fix this, let's add a root route that explains the routes that the app designates!

zaherg commented 5 years ago

hey @ashleygwilliams can you check the PR and see if its good to go?

thanks

ashleygwilliams commented 5 years ago

thank you so much @linuxjuggler ! closed by #10