Przeglądaj źródła

Include a public_baseurl in configs generated by the demo script. (#8443)

tags/v1.22.0rc1
Patrick Cloke 3 lat temu
committed by GitHub
rodzic
commit
3bd2a2cbb1
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 3 dodań i 0 usunięć
  1. +1
    -0
      changelog.d/8443.misc
  2. +2
    -0
      demo/start.sh

+ 1
- 0
changelog.d/8443.misc Wyświetl plik

@@ -0,0 +1 @@
Configure `public_baseurl` when using demo scripts.

+ 2
- 0
demo/start.sh Wyświetl plik

@@ -30,6 +30,8 @@ for port in 8080 8081 8082; do
if ! grep -F "Customisation made by demo/start.sh" -q $DIR/etc/$port.config; then
printf '\n\n# Customisation made by demo/start.sh\n' >> $DIR/etc/$port.config

echo "public_baseurl: http://localhost:$port/" >> $DIR/etc/$port.config

echo 'enable_registration: true' >> $DIR/etc/$port.config

# Warning, this heredoc depends on the interaction of tabs and spaces. Please don't


Ładowanie…
Anuluj
Zapisz