Eusebio Trigo
Eusebio Trigo
Explore posts from servers
XXata
Created by Eusebio Trigo on 4/12/2024 in #help
Cannot perform I/O on behalf of a different request in Cloudflare Workers
We were using it in all our workers. But due to reasons, we stopped all activities, and found other jobs.
10 replies
CDCloudflare Developers
Created by Eusebio Trigo on 4/24/2024 in #pages-help
Using next-international makes the app forget the language.
And I lack knowledge on what happens when it is deployed on CF 😦
22 replies
CDCloudflare Developers
Created by Eusebio Trigo on 4/24/2024 in #pages-help
Using next-international makes the app forget the language.
In vercel it works. In local as well.
22 replies
CDCloudflare Developers
Created by Eusebio Trigo on 4/24/2024 in #pages-help
Using next-international makes the app forget the language.
So on every request and URL change the mw should hit. And the cookie should change.
22 replies
CDCloudflare Developers
Created by Eusebio Trigo on 4/24/2024 in #pages-help
Using next-international makes the app forget the language.
Yeah. It is in the middleware where this library changes the cookie. In the deployed version in Cloudflare Pages it seems that it does not go through the middleware (I put an old console.log there).
22 replies
CDCloudflare Developers
Created by Eusebio Trigo on 4/24/2024 in #pages-help
Using next-international makes the app forget the language.
I have this issue opened in the repo https://github.com/cloudflare/next-on-pages/issues/785
22 replies
CDCloudflare Developers
Created by Eusebio Trigo on 4/24/2024 in #pages-help
Using next-international makes the app forget the language.
https://next-international-cloudflare.vercel.app/fr This is on Vercel. It works there.
22 replies
CDCloudflare Developers
Created by Eusebio Trigo on 4/24/2024 in #pages-help
Using next-international makes the app forget the language.
I just tried in local. Good one. I will set it up on Vercel.
22 replies
CDCloudflare Developers
Created by Eusebio Trigo on 4/24/2024 in #pages-help
Using next-international makes the app forget the language.
Running it in dev mode and running it from the built dir in local, it works. Running it in the Cloudflare doesn´t.
22 replies
CDCloudflare Developers
Created by Eusebio Trigo on 4/24/2024 in #pages-help
Using next-international makes the app forget the language.
And I've checked that the application deployed in Cloudflare does not change the cookie, whereas it changes the cookie in local environment.
22 replies
CDCloudflare Developers
Created by Eusebio Trigo on 4/24/2024 in #pages-help
Using next-international makes the app forget the language.
But in CF Deployed app: GET https://79cccbf6.control-center.pages.dev/en/comply/ledger - Ok @ 5/9/2024, 12:08:51 PM (log) Cookie "Next-Locale": { name: 'Next-Locale', value: 'en' } (log) PathName: /en/comply/ledger GET https://79cccbf6.control-center.pages.dev/comply/ledger/sellers?_rsc=z4fzl - Ok @ 5/9/2024, 12:08:52 PM (log) Cookie "Next-Locale": { name: 'Next-Locale', value: 'en' } (log) PathName: /comply/ledger/sellers GET https://79cccbf6.control-center.pages.dev/en/comply/ledger/sellers - Ok @ 5/9/2024, 12:08:52 PM (log) Cookie "Next-Locale": { name: 'Next-Locale', value: 'en' } (log) PathName: /en/comply/ledger/sellers GET https://79cccbf6.control-center.pages.dev/comply/e-invoicing?_rsc=z4fzl - Ok @ 5/9/2024, 12:08:57 PM (log) Cookie "Next-Locale": { name: 'Next-Locale', value: 'en' } (log) PathName: /comply/e-invoicing GET https://79cccbf6.control-center.pages.dev/en/comply/e-invoicing - Ok @ 5/9/2024, 12:08:57 PM (log) Cookie "Next-Locale": { name: 'Next-Locale', value: 'en' }
22 replies
CDCloudflare Developers
Created by Eusebio Trigo on 4/24/2024 in #pages-help
Using next-international makes the app forget the language.
I've been digging more on this.... and I am console logging the value of the cookie and it never changes. This is from my real app in local Cookie "Next-Locale": { name: 'Next-Locale', value: 'de' } ✓ Compiled /api/connect/systems/[system_id] in 272ms (2898 modules) GET /api/connect/systems/rec_cl572ai0kf4emdrkk35g 200 in 345ms Cookie "Next-Locale": { name: 'Next-Locale', value: 'de' } PathName: /en/comply/ledger Cookie "Next-Locale": { name: 'Next-Locale', value: 'en' }
22 replies
CDCloudflare Developers
Created by Eusebio Trigo on 4/24/2024 in #pages-help
Using next-international makes the app forget the language.
Thanks for checking it! At least a cookie should be sent so the middleware can do wonders... but I don't know where to look at... The cookie seems like a good starting point anyway.
22 replies
CDCloudflare Developers
Created by Eusebio Trigo on 5/2/2024 in #next-on-pages
Crossposting here as it is not as broad
I'd love to hear from anyone that has used an internationalization library and it works for them in Cloudflare pages.
1 replies
CDCloudflare Developers
Created by Eusebio Trigo on 4/24/2024 in #pages-help
Using next-international makes the app forget the language.
I would just like to understand if this is due to the library or how @cloudflare/next-on-pages builds it or if it is the edge-runtime... etc.
22 replies
CDCloudflare Developers
Created by Eusebio Trigo on 4/24/2024 in #pages-help
Using next-international makes the app forget the language.
One issue opened to the library makers in https://github.com/QuiiBz/next-international/issues/397
22 replies
CDCloudflare Developers
Created by Eusebio Trigo on 4/24/2024 in #pages-help
Using next-international makes the app forget the language.
22 replies
XXata
Created by Eusebio Trigo on 4/15/2024 in #help
SQL Query working differently in playground vs SDK
Perfect! Thank you!!
5 replies
XXata
Created by Eusebio Trigo on 4/15/2024 in #help
SQL Query working differently in playground vs SDK
Thank you, I'll check it out and will come back to you.
5 replies