#!/bin/bash

sed -i 's/127.0.0.1/0.0.0.0/g' /usr/src/app/web/vue/UIconfig.js
sed -i 's/localhost/'${HOST}'/g' /usr/src/app/web/vue/UIconfig.js
sed -i 's/3000/'${PORT}'/g' /usr/src/app/web/vue/UIconfig.js
exec node gekko "$@"

#!/bin/bash

sed -i 's/127.0.0.1/0.0.0.0/g' /usr/src/app/web/vue/public/UIconfig.js
sed -i 's/localhost/'${HOST}'/g' /usr/src/app/web/vue/public/UIconfig.js
sed -i 's/3000/'${PORT}'/g' /usr/src/app/web/vue/public/UIconfig.js
exec node gekko "$@"

Fix UIconfig path for docker
Fix UIconfig path for docker
