Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put utility interfaces under /cdn-cgi/ #42

Closed
ObsidianMinor opened this issue Sep 12, 2021 · 2 comments
Closed

Put utility interfaces under /cdn-cgi/ #42

ObsidianMinor opened this issue Sep 12, 2021 · 2 comments
Labels
enhancement New feature or request fixed-in-next Fixed in next release

Comments

@ObsidianMinor
Copy link

All requests on Cloudflare to paths under cdn-cgi will be handled by Cloudflare itself and cannot be routed to Workers or the origin. So rather than have utility interfaces under /.mf/* (which may in the off-chance have conflicts), it may make more sense to put them under /cdn-cgi/* for consistency (for example, preview interfaces for Workers live under /cdn-cgi/workers/preview).

@mrbbot
Copy link
Contributor

mrbbot commented Sep 12, 2021

Hey! 👋 That's a really good idea! I'll switch it over in the next major version.

@mrbbot mrbbot added the enhancement New feature or request label Sep 27, 2021
@mrbbot mrbbot added the fixed-in-next Fixed in next release label Oct 19, 2021
@mrbbot
Copy link
Contributor

mrbbot commented Oct 27, 2021

Hey! 👋 The first pre-release of Miniflare 2 has just been released, including this change. The /.mf/scheduled endpioint is now exposed under /cdn-cgi/mf/scheduled. You can find the full changelog here and install it with npm i miniflare@next -D. Please let me know if you have any other issues, and feel free to ask questions in the #miniflare channel of the Cloudflare Workers Discord server.

@mrbbot mrbbot closed this as completed Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fixed-in-next Fixed in next release
Projects
None yet
Development

No branches or pull requests

2 participants