WIP
1171990c
2 file(s) · +7 −6
| 37 | 37 | }, |
|
| 38 | 38 | }, |
|
| 39 | 39 | output: "hybrid", |
|
| 40 | - | adapter: cloudflare(), |
|
| 40 | + | adapter: cloudflare({ |
|
| 41 | + | platformProxy: { |
|
| 42 | + | enabled: true, |
|
| 43 | + | }, |
|
| 44 | + | }), |
|
| 41 | 45 | }); |
| 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 | } |