-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
- P4: importantViolate documented behavior or significantly impacts performance (priority)Violate documented behavior or significantly impacts performance (priority)feat: envrelated to the way astro handles `.env` or `import.meta.env` or `process.env` (scope)related to the way astro handles `.env` or `import.meta.env` or `process.env` (scope)regression
Description
Astro Info
N/A
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
When using a secret inside a middleware, it now fails
npm run buildnpm run preview- visit root
What's the expected result?
Should still work
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-8b8hjn
Participation
- I am willing to submit a pull request for this issue.
riley-paul
Metadata
Metadata
Assignees
Labels
- P4: importantViolate documented behavior or significantly impacts performance (priority)Violate documented behavior or significantly impacts performance (priority)feat: envrelated to the way astro handles `.env` or `import.meta.env` or `process.env` (scope)related to the way astro handles `.env` or `import.meta.env` or `process.env` (scope)regression