braincel
braincel
Explore posts from servers
CDCloudflare Developers
Created by braincel on 9/28/2024 in #pages-help
How to point CF domain to CF pages project
weird.. it works now tho i didn't change anything do the bulk redirects take some time to propagate?
8 replies
CDCloudflare Developers
Created by braincel on 9/28/2024 in #pages-help
How to point CF domain to CF pages project
No description
8 replies
CDCloudflare Developers
Created by braincel on 9/28/2024 in #pages-help
How to point CF domain to CF pages project
No description
8 replies
CDCloudflare Developers
Created by braincel on 9/28/2024 in #pages-help
How to point CF domain to CF pages project
oh wait, just found out that i had it set on an older project (i.e. the same domain), tho it said inactive, apparently i had to delete it from there first
8 replies
CDCloudflare Developers
Created by braincel on 9/28/2024 in #pages-help
How to point CF domain to CF pages project
tried adding the domain to the cf pages project, didn't work also removed the existing DNS records on the CF dashboard
8 replies
CDCloudflare Developers
Created by braincel on 8/8/2024 in #pages-help
ReferenceError: XMLHttpRequest is not defined on api endpoint
holy s**t guys I can't thank you enough for this, it works!
14 replies
CDCloudflare Developers
Created by braincel on 8/8/2024 in #pages-help
ReferenceError: XMLHttpRequest is not defined on api endpoint
@yuripave @borsss any chance you guys could share your build command and workers compat date? (and maybe other relevant build settings)
14 replies
CDCloudflare Developers
Created by braincel on 8/8/2024 in #pages-help
ReferenceError: XMLHttpRequest is not defined on api endpoint
Oh also, I wonder if moving to the app dir would solve this issue, it would take a while for me to try this out since my app is pretty big lmk how it goes
14 replies
CDCloudflare Developers
Created by braincel on 8/8/2024 in #pages-help
ReferenceError: XMLHttpRequest is not defined on api endpoint
thanks for pinging me btw, I hope this works
14 replies
CDCloudflare Developers
Created by braincel on 8/8/2024 in #pages-help
ReferenceError: XMLHttpRequest is not defined on api endpoint
Seeing your error however, I'm now wondering if it might be an error related to gSSP, maybe we would try removing gssp and see how it goes
14 replies
CDCloudflare Developers
Created by braincel on 8/8/2024 in #pages-help
ReferenceError: XMLHttpRequest is not defined on api endpoint
Nope, spent about a week trying to solve it unfortunately but I moved to vercel for now
14 replies
CDCloudflare Developers
Created by braincel on 8/8/2024 in #pages-help
ReferenceError: XMLHttpRequest is not defined on api endpoint
anyone else experience anything similar to this? I tried deploying it to vercel just to check, and the same code worked I'd still like to use CF Pages though if possible the weird thing is that it seems like the problem only happens when the requests are coming from the browser. If it's through curl/postman, it works just fine, and i'm not sure why
14 replies
CDCloudflare Developers
Created by braincel on 8/8/2024 in #pages-help
ReferenceError: XMLHttpRequest is not defined on api endpoint
No description
14 replies
CDCloudflare Developers
Created by braincel on 8/8/2024 in #pages-help
ReferenceError: XMLHttpRequest is not defined on api endpoint
this is my prod url btw: https://jamstart.app/ been doing some debugging and it seems like the issue really is with the endpoint, but I'm not sure exactly why, I've also checked that I don't use XMLHttpRequest anywhere in my code I've checked that supabase does return valid tokens and tried those tokens manually with the spotify API ---- update/edit: I just checked again, and apparently the problem happens for all of the endpoints, not just the endpoint i mentioned above. It's a bit weird though that sometimes the endpoints would work, sometimes they won't (for example, try searching for songs using the search bar). When doing this (calling the api endpoints), sometimes the endpoint/worker would throw an error (the XMLHttpError thing), sometimes it won't. See images below.
14 replies
CDCloudflare Developers
Created by braincel on 1/1/2024 in #general-help
Help with DNS resolution (using CF pages and CF domain name)
it worked, thanks!
6 replies
CDCloudflare Developers
Created by braincel on 1/1/2024 in #general-help
Help with DNS resolution (using CF pages and CF domain name)
aight thanks! i'll try this out
6 replies