arreglar localhost
This commit is contained in:
12
manager/docker-entrypoint.sh
Executable file
12
manager/docker-entrypoint.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Generate config.js
|
||||
cat <<EOF > /usr/share/nginx/html/config.js
|
||||
window.APP_CONFIG = {
|
||||
VITE_API_URL: "${VITE_API_URL}",
|
||||
VITE_WS_URL: "${VITE_WS_URL}"
|
||||
};
|
||||
EOF
|
||||
|
||||
# Exec the passed command
|
||||
exec "$@"
|
||||
Reference in New Issue
Block a user