Skip to content

Commit

Permalink
fixes wrong locals name
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderniebuhr committed Mar 26, 2024
1 parent 42a8656 commit fd17b17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cloudflare/src/entrypoints/server.advanced.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Env = {
};

export interface AdvancedRuntime<T extends object = object> {
platform: {
runtime: {
waitUntil: (promise: Promise<any>) => void;
env: Env & T;
cf: CLOUDFLARE_REQUEST['cf'];
Expand Down Expand Up @@ -63,7 +63,7 @@ export function createExports(manifest: SSRManifest) {
})();

const locals: AdvancedRuntime = {
platform: {
runtime: {
waitUntil: (promise: Promise<any>) => {
context.waitUntil(promise);
},
Expand Down

0 comments on commit fd17b17

Please sign in to comment.