veeque
veeque
Explore posts from servers
CDCloudflare Developers
Created by veeque on 10/31/2024 in #general-help
How to set up regional services?
or is this just "extra sprinkle" over what cf already does to make eu customers comply?
5 replies
CDCloudflare Developers
Created by veeque on 10/31/2024 in #general-help
How to set up regional services?
ah... i see. my question now becomes: if due to gdpr i have to keep data within the eu, if i'm not an enterprise user i cannot comply with gdpr?
5 replies
HHono
Created by veeque on 9/11/2024 in #help
How do I get rest params?
Found the solution: "/your/path/here/:rest{.+$}"
2 replies
CDCloudflare Developers
Created by veeque on 9/11/2024 in #pages-help
How to host multiple pages under the same domain
Using Hono:
app.get("/books/:path{.+$}?", async (context) => {
const path = context.req.param("path") || "";

const response = await fetch(`https://app1.pages.dev/${path}`);

return response;
});
app.get("/books/:path{.+$}?", async (context) => {
const path = context.req.param("path") || "";

const response = await fetch(`https://app1.pages.dev/${path}`);

return response;
});
The issue is that now I see failing requests to example.com/_app/immutable/..., because those should either be to app1.pages.dev/_app/immutable/... or to example.com/app1/_app/immutable/...... It would be nice not having to go into app1's code (a SvelteKit app) and setting paths https://kit.svelte.dev/docs/configuration#paths
3 replies
CDCloudflare Developers
Created by veeque on 9/11/2024 in #pages-help
How to host multiple pages under the same domain
No description
3 replies
DTDrizzle Team
Created by veeque on 8/30/2024 in #help
How to run a join on the result of a union
yess, that's what i was looking for. thanks!
3 replies