Sure, been on other things the last few days.

Sure, been on other things the last few days.
12 Replies
neoney
neoney3mo ago
getRequestContext doesn't seem to have hyperdrive? it smissing and when it starts Found a non-empty WRANGLER_HYPERDRIVE_LOCAL_CONNECTION_STRING variable for binding. Hyperdrive will connect to this database during local development.
hunter.jia
hunter.jia3mo ago
i deploy monorepo to pages and successful,but the access path is not available Do you guys know the reason why the monorepo is about next
Max
Max3mo ago
I‘m using Next Requests and next-on-pages. Which IP is used when calling an external (free+publicly available) API? I assume it’s Cloudflare‘s IP, isn’t it? I‘m asking because I‘m afraid of hitting the rate limit of that external API.
D Trombett
D Trombett3mo ago
well, yeah, the request is sent from Cloudflare servers it shouldn't be always the same tho, as it depends on the region and the server
Sheng
Sheng3mo ago
Is there any way that we can use single .env file for environment variables instead of duplicated variables in .env, .dev.vars, and the wrangler.toml file?
James
James3mo ago
unfortunately wrangler refuses to respect the industry standard of using .env
Bonadio
Bonadio3mo ago
Hi, trying to create a Nextjs project with "npm install --save-dev @Cloudflare/next-on-pages" results in 5 vulnerabilities (1 low, 2 moderate, 2 high), running npm audit fix does not solve the problem. Any ideas?
whizzy
whizzy3mo ago
my d1 is not working on local machine, gives me error of table not found, using with pages, and d1 binding I also gave it this value in wrangler.toml but doesnt seem to be working
preview_database_id = "DATABASE"
preview_database_id = "DATABASE"
can anyone help me setup locally, just give me couple of steps
D Trombett
D Trombett3mo ago
might be obvious but... did you create the table locally? afaik local database doesn't inherit anything from the real one
whizzy
whizzy3mo ago
why to create local one? what I want to test the remote d1 on local ?
Hard@Work
Hard@Work3mo ago
You can't. #next-on-pages only interacts with local DBs
whizzy
whizzy3mo ago
daaamn, was this supposed to be a feature ? why ?
Want results from more Discord servers?
Add your server