File tree 3 files changed +7
-2
lines changed
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 3
3
4
4
: " ${API_URL?Define the api endpoint} "
5
5
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
7
7
8
8
exec " $@ "
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:
115
115
- ` SESSION_SALT` to a 8byte random hex string with ` openssl rand -hex 8`
116
116
- ` DATABASE_PASSWORD` set a more secure password for the database
117
117
- ** 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" )
119
119
1. Run application system
120
120
121
121
` ` ` bash
You can’t perform that action at this time.
0 commit comments