Closed wild-flame closed 5 years ago
Even after run
export RAFIKI_ADDR=ncrs.d2.comp.nus.edu.sg
The web admin is use the default host localhost as the base of API endpoint in production environment.
localhost
should take a look into the docker image and figure out why.
Currently, I can only successfully access web admin on NCRS host by hardcoding:
window.ADMIN_HOST = 'ncrs.d2.comp.nus.edu.sg' window.ADMIN_PORT = 3000
on index.html instead of updating .env.sh.
Even after run
export RAFIKI_ADDR=ncrs.d2.comp.nus.edu.sg
The web admin is use the default host
localhost
as the base of API endpoint in production environment.should take a look into the docker image and figure out why.