# HAMUR_E1145: Public runtime config expands a private variable

Public runtime config expands a private variable. Error `HAMUR_E1145` belongs to `hamur`, scan, build and dev (1001 – 1999). It is retired: nothing writes it any more.

## Message

```text
HAMUR_E1145 <path> uses ${<name>}, which app/env.ts declares private; a public value is sent to the browser
```

## Cause

`experimental.envExpansion` is on, and a value of `runtimeConfig.public` uses `${NAME}` of a variable that `app/env.ts` declares private. A public value is sent to the browser.

## Fix

Declare the variable public, or do not use it in `runtimeConfig.public`.
