If using wrangler 2 dev environment (built on top of miniflare) instead of miniflare like the starter template the landing page doesn't load due to this line https://github.com/mrbbot/slshx/blob/master/src/index.ts#L43 looking for the MINIFLARE global which doesn't exist.
Current work around is to set it before handling the fetch.
If using wrangler 2 dev environment (built on top of miniflare) instead of miniflare like the starter template the landing page doesn't load due to this line https://github.com/mrbbot/slshx/blob/master/src/index.ts#L43 looking for the
MINIFLARE
global which doesn't exist.Current work around is to set it before handling the fetch.
Possible fix could be to check for the environment which is explained on this page https://developers.cloudflare.com/workers/platform/environments/