Skip to content

Commit

Permalink
Update packages/integrations/cloudflare/src/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
  • Loading branch information
matthewp and ematipico authored Jul 17, 2023
1 parent 7a7e1a0 commit fe53ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/integrations/cloudflare/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default function createIntegration(args?: Options): AstroIntegration {

// Cloudflare env is only available per request. This isn't feasible for code that access env vars
// in a global way, so we shim their access as `process.env.*`. We will populate `process.env` later
// in it's fetch handler.
// in its fetch handler.
vite.define = {
'process.env': 'process.env',
...vite.define,
Expand Down

0 comments on commit fe53ba1

Please sign in to comment.