File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @quassel/frontend " : patch
3+ ---
4+
5+ Fix sed to set api url from environment variable
Original file line number Diff line number Diff line change 33
44: " ${API_URL?Define the api endpoint} "
55
6- sed -i " s/\/\/ REPLACE_WITH_API_URL/ $API_URL / g" /usr/share/nginx/html/index.html
6+ sed -i " s|// REPLACE_WITH_API_URL| $API_URL | g" /usr/share/nginx/html/index.html
77
88exec " $@ "
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ The following steps describe how to set up the application system:
115115 - ` SESSION_SALT` to a 8byte random hex string with ` openssl rand -hex 8`
116116 - ` DATABASE_PASSWORD` set a more secure password for the database
117117 - ** frontend** :
118- - ` API_URL` set to a escaped URL so it works with sed (e.g. " https:\\ / \\ /api.test.example.com" )
118+ - ` API_URL` point to the API endpoint (e.g. " https:/ /api.test.example.com" )
1191191. Run application system
120120
121121 ` ` ` bash
You can’t perform that action at this time.
0 commit comments