mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-16 10:34:06 -08:00
e7a12ac80a
* Fix broken prefixed asset links in webpack build Fixes https://github.com/prometheus/prometheus/issues/9585 Signed-off-by: Julius Volz <julius.volz@gmail.com> * Use .env file for PUBLIC_URL npm build env var Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 lines
162 B
Bash
4 lines
162 B
Bash
# This ensures that all links in the generated asset bundle will be relative,
|
|
# so that assets are loaded correctly even when a path prefix is used.
|
|
PUBLIC_URL=.
|