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
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