2024-01-12 18:50:22 +01:00
|
|
|
#!/bin/bash
|
2024-01-12 19:15:21 +01:00
|
|
|
# SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
2024-01-12 18:50:22 +01:00
|
|
|
|
|
|
|
set -o errexit
|
|
|
|
set +x
|
|
|
|
|
|
|
|
: ${KI_API_URL:=http://ki-backend:5000}
|
|
|
|
|
|
|
|
sed -e "s%\$KI_API_URL%$KI_API_URL%g" /usr/share/nginx/html/config.js.in > /usr/share/nginx/html/config.js
|
|
|
|
|
|
|
|
exec "$@"
|