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
Aha, I found the fix. I didn't add
domain=
to the cookie so that it would just take the current domain itself. but i added domain=.domain.com
now to it, note the dot before the hostname, and now it does work as intended!3 replies
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
The only current fix I have found for this is not giving them an original expires date so they become Session cookies. This way they do get updated with the new expires date and disappear
3 replies
CDCloudflare Developers
•Created by jvh on 5/8/2024 in #pages-help
Deployments are failing for CF Pages with Functions
i also 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?13 replies
CDCloudflare Developers
•Created by jvh on 5/8/2024 in #pages-help
Deployments are failing for CF Pages with Functions
is there an online suggestion for this that i can upvote?
13 replies
CDCloudflare Developers
•Created by jvh on 5/8/2024 in #pages-help
Deployments are failing for CF Pages with Functions
anyhow it would be nice for the developers to see these kinds of error messages somewhere because it doesn't show me anywhere
13 replies
CDCloudflare Developers
•Created by jvh on 5/8/2024 in #pages-help
Deployments are failing for CF Pages with Functions
i dont understand why though bc when i ran it locally, it just worked fine with a boolean.
13 replies
CDCloudflare Developers
•Created by jvh on 5/8/2024 in #pages-help
Deployments are failing for CF Pages with Functions
thank you for giving me the error. i changed the DEBUG var from a boolean to a string and now deploys do work
13 replies
CDCloudflare Developers
•Created by jvh on 5/8/2024 in #pages-help
Deployments are failing for CF Pages with Functions
13 replies
CDCloudflare Developers
•Created by jvh on 5/8/2024 in #pages-help
Deployments are failing for CF Pages with Functions
here is my wrangler.toml file
13 replies
CDCloudflare Developers
•Created by jvh on 5/8/2024 in #pages-help
Deployments are failing for CF Pages with Functions
oh now that i think about, deployments did start to fail as soon as i added DEBUG var
13 replies
CDCloudflare Developers
•Created by Abhinav on 5/8/2024 in #pages-help
Every build is failing with errors
i sent my information here #Deployments are failing for CF Pages with Functions
29 replies
CDCloudflare Developers
•Created by Abhinav on 5/8/2024 in #pages-help
Every build is failing with errors
my deployments are also failing but i cant find any logs anywhere. i use wrangler to upload them. it worked perfectly fine several hours ago. but now that i finished the website it keeps failing. wrangler also doesnt give me any errors
29 replies