WIP 1171990c
Steve · 2024-09-19 23:09 2 file(s) · +7 −6
astro.config.ts +5 −1
37 37
		},
38 38
	},
39 39
	output: "hybrid",
40 -
	adapter: cloudflare(),
40 +
	adapter: cloudflare({
41 +
		platformProxy: {
42 +
			enabled: true,
43 +
		},
44 +
	}),
41 45
});
src/env.d.ts +2 −5
2 2
// <reference path="../.astro/types.d.ts" />
3 3
/// <reference types="@astrojs/image/client" />
4 4
5 -
type Runtime = import("@astrojs/cloudflare").Runtime<Env>;
6 -
5 +
type Runtime = import("@astrojs/cloudflare").Runtime<ENV>;
7 6
declare namespace App {
8 -
	interface Locals extends Runtime {
9 -
		cfVar: string;
10 -
	}
7 +
	interface Locals extends Runtime {}
11 8
}