Syan
Syan
CDCloudflare Developers
Created by Syan on 6/26/2024 in #workers-help
Migration from KV to D1
That's okay, thank you anyway! I resorted to creating a simple API for this migration and limiting the amount of records added at once to stay under the 1k limit. By returning the list cursor I have a simple way to iterate over all the records.
3 replies
CDCloudflare Developers
Created by Syan on 5/21/2023 in #general-help
Zero Trust Application communication
FYI for future readers: Using /* as path will result in stylesheets and such breaking, which is not very convenient, you would have to make A LOT of applications to cover your entire site. Currently I fixed it by renaming the /manage/ partition to /admin/ and then using /a* as a path, which will include /admin/*as well as /api/* . Of course, each page or internal part starting with the letter a would be included as well, which you would then need to manually bypass with another application. I guess you could go as far as to rename protected parts to include a prefix "api", but of course that is aesthetically unpleasant... I suppose this is the best way until multi-hostname support comes along 🙂
7 replies
CDCloudflare Developers
Created by Syan on 5/21/2023 in #general-help
Zero Trust Application communication
Ah I see, so just combine them under the * and then make different applications to bypass the authentication? Yeah I've really been looking forward to the multi-hostname feature 😅 Welp I guess I'll make even more applications then 😂 Thanks!
7 replies