HareBear
HareBear
CDCloudflare Developers
Created by HareBear on 6/19/2023 in #pages-help
Using Pages direct uploads with Pages Functions
Ah great, I just realized there's a closed task on the GH action that hints at how to set this up: https://github.com/cloudflare/pages-action/issues/1 Seems that all that's needed is to set the working directory to the directory that contains the functions directory. Thanks!
2 replies
CDCloudflare Developers
Created by HareBear on 6/13/2023 in #pages-help
Correct way to implement _redirects file functionality for a Pages project using Next edge runtime?
Thanks @5927 , will try the next redirects. Unfortunately, even though Cloudflare shows the parsed _redirects file for the deployment, they don't seem to work. The linked post seems to hint at routes handled by workers in edge runtime mode not having redirects applied.
3 replies
CDCloudflare Developers
Created by HareBear on 2/7/2023 in #workers-help
How to run workers on any subdomain?
Actually, I just answered my own question: Adding the following AAAA record seems to have fixed the warning:
*.dev.example.com -> 100::
*.dev.example.com -> 100::
Sorry to bug you!
5 replies
CDCloudflare Developers
Created by HareBear on 2/7/2023 in #workers-help
How to run workers on any subdomain?
Thanks @Cyb3r-Jok3 , I probably wasn't clear enough in my original post. After adding the route, I end up with the following message:
The entered route does not have an active DNS record. To add this route, manually add a new DNS record or use the Worker's Custom Domain to create it automatically. Learn more.
The entered route does not have an active DNS record. To add this route, manually add a new DNS record or use the Worker's Custom Domain to create it automatically. Learn more.
For example, adding *.dev.example.com In fact, even just adding *.example.com gives me this error.
5 replies