1
0
mirror of https://github.com/vector-im/hydrogen-web.git synced 2025-01-11 20:47:18 +01:00

12 lines
284 B
Bash
Raw Normal View History

2023-01-11 18:06:25 +00:00
#!/bin/sh
set -eux
if [ -n "${CONFIG_OVERRIDE:-}" ]; then
# Use config override environment variable if set
echo "$CONFIG_OVERRIDE" > /tmp/config.json
else
# Otherwise, use the default config that was bundled in the image
cp /config.json.bundled /tmp/config.json
2023-01-11 18:06:25 +00:00
fi