Skip to content

Commit

Permalink
refactor: use new Astro internals (#8254)
Browse files Browse the repository at this point in the history
* refactor: use new Astro internals

* chore: update tests

---------

Co-authored-by: Matthew Phillips <matthew@skypack.dev>
  • Loading branch information
ematipico and matthewp authored Aug 28, 2023
1 parent 0e288ac commit 6b03a0c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 47 deletions.
45 changes: 0 additions & 45 deletions packages/integrations/cloudflare/src/runtime.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
import { getRuntime } from '@astrojs/cloudflare/runtime';
const runtime = getRuntime(Astro.request);
const runtime = Astro.locals.runtime;
---
<html>
<head>
Expand Down

0 comments on commit 6b03a0c

Please sign in to comment.