Files
weli a661e439a0 chore: initialize frontend repo with teaching terminology updates
Add the current frontend codebase with a baseline .gitignore and update piano-specific UI terms to teaching-oriented terms for the current product context.

Made-with: Cursor
2026-04-23 16:37:14 +08:00

14 lines
247 B
Bash
Executable File

#!/bin/bash
set -x
echo "UC_PORT: ${UC_PORT}"
echo "WS_PORT: ${WS_PORT}"
# shellcheck disable=SC2044
for FILE in $(find /etc/nginx/conf.d/*); do
sed -i -e "s|UC_PORT|${UC_PORT}|" -e "s|WS_PORT|${WS_PORT}|" "${FILE}"
done
/usr/sbin/nginx
sh