Skip to content

HAMUR_W2011: The payload holds a private runtime config value

The payload holds a private runtime config value. Warning HAMUR_W2011 belongs to hamur, server (2001 – 2999).

Message

text
HAMUR_W2011 the payload of <path> holds the value of <key>: load returns what the browser may see

Cause

In dev, the payload of a page holds the value of a private runtimeConfig key. The browser can see it.

Fix

Do not return the value from load. Keep secrets in the private part of runtimeConfig.