This repository was archived by the owner on Aug 11, 2021. It is now read-only.
This repository was archived by the owner on Aug 11, 2021. It is now read-only.
replace %env% in html file while nginx start #25
Open
Description
Create React APP could inject env into html at build-time. We try to make it injecting at run-time.
like envsubst, we need to replace %env% word in html file with correct env value.
input
<title>%REACT_APP_TITLE%</title>
output
<title>Some Real Title in Docker Env</title>
if env REACT_APP_TITLE not exist, leave <title>%REACT_APP_TITLE%</title>
there, don't change.
Metadata
Metadata
Assignees
Labels
No labels