Add entrypoint script to configure API URL

This commit is contained in:
2026-01-26 04:28:41 +00:00
committed by GitHub
parent 4edc7d1f5b
commit 5fc761a3f1

3
frontend/entrypoint.sh Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
sed -i "s|{{NEXT_PUBLIC_API_URL}}|${NEXT_PUBLIC_API_URL}|g" /app/public/env.js
exec "$@"