jvh
CDCloudflare Developers
•Created by jvh on 5/9/2024 in #pages-help
Cookies not being updated on CF Pages when expires date is in the past
I noticed that something is wrong with my cookies. I can set or replace cookies without trouble both locally and on the production custom domain. but when I try to delete those cookies by setting the expires attribute to
Thu, 01 Jan 1970 00:00:00 GMT
and also set the domain and path exactly to what it says in devtools, the cookies just don’t get removed, the expiration date is not updated at all. while locally during dev testing it does remove them! how do I fix this?3 replies
CDCloudflare Developers
•Created by jvh on 5/8/2024 in #pages-help
Deployments are failing for CF Pages with Functions
I've been able to deploy my site several times today without any trouble, but now suddenly every deployment fails. I use Wrangler (which doesn't give any errors) to upload my static site along with a few Functions. It did deploy earlier today, but now every deployment fails. I also can't find any logs anywhere to see what is even causing this...
I did find out the ONLY possible way to make the deployments succeed is by adding
compatibility_flags =
to wrangler.toml
file. Deployments fail without that line, and deployments also fail when compatibility_flags has an actual value. I do get errors now saying it doesn't have a value, but the deployments do work this way...
- evonycompanion-2mg.pages.dev
- 724a614d-116a-4f18-bc0c-97babaa8f11d
- b4c2d024209c764df81e32f67d8935b6
- Not getting any errors13 replies