Describe Your Question
I’m trying to use the viewer to connect to a local wado repository, but can’t seem to get the bundled code published in the dist folder to make an xhr request to anywhere.
I’ve run the server locally using yarn run dev and it connects to the server fine, but running yarn run build and copying the code from the dist folder to the web site, will not call the wado server and request a list of studies. Actually, it just sits there with a blank black page. All assets seem to be loaded without any errors in the network tab of Chrome’s Developer Tools.
I’m sure I’ve missed something obvious, but I literally cloned the repo and ran the two commands hoping to get the build output to talk to the static aws server so I would have some starting point to work from.
Any advise is greatly appreciated.
Thanks!
What steps can we follow to reproduce the bug?
- Clone the repository
- yarn install
- yarn run dev, and everything runs as expected
- yarn run build
- deploy code from dist folder to web root
- open browser and navigate to web root.