R2-Explorer
R2-Explorer copied to clipboard
Using dashboardUrl does not function properly
I followed the instructions and deployed packages/dashboard in my cloudflare pages. The initial page loads fine, but navigating is impossible as the routing doesn't function properly when dashboardUrl is specified, i.e. requests like mysub.mydomain.com/storage/bucket-name return 404
Can you share the url for your instance in read only
No, sorry. Already moved it behind zero trust. The steps to reproduce are absolutely minimal.
- npm create r2-explorer@latest and deploy
- fork and create Cloudflare page for packages/dashboard (pointing to the master branch - maybe that's a problem, should I use the latest release tag?)
- change dashboardUrl to the cloudflare page url and re-deploy worker
Oh and btw, I've temporarily removed the dashboardUrl option (so I'm using the default public frontend) and everything is working fine.
I've just setup everything on a new account and it is working fine
when you enable the dashboardUrl, do you see any buckets on the sidebar? can you confirm the r2-explorer version you are using by accessing this path in your worker domain /api/server/config
Figured out my issue, when I deployed to cloudflare pages I didn't have a build step, so I was just uploading the Vue source. Maybe consider adjusting the docs about that, it's not obvious for non-web people.