An open API service indexing awesome lists of open source software.

https://github.com/blankeos/vike-hono-env-bug

🤕 Vike Bug Repro with Leaked Env
https://github.com/blankeos/vike-hono-env-bug

Last synced: about 1 year ago
JSON representation

🤕 Vike Bug Repro with Leaked Env

Awesome Lists containing this project

README

          

Vike Hono Env

This is a bug repro. I just commited the `.env` for convenience.

**Bug summary:**

1. Environment variables are being displayed on the client-side?
2. When I write the environment variable as a "text" (not a variable), it fails to render the page/throws a roll-up error. You can see it in the console when you visit the page.
- For instance: Writing `

import.meta.env.DATABASE_URL
` will throw this error.

## Requirements

- Bun v1.1.8

## Steps

1. Clone

```sh
git clone
```

2. Install

```sh
bun install
```

4. Run

```sh
bun dev
```