Open westlakem opened 6 years ago
Thanks for the feedback @westlakem. We will fix those in the upcoming release. If you find more let us know.
I'm not 100% sure if the build is enough... I also replaced them in the min.js and the scripts directory.
Great feature idea! These should be controlled as a configuration rather than stored in the /public/ code
Additional locations where localhost or main anyplace server name is referenced: Architect /public/anyplace_architect/scripts/AnyplaceAPI.js (localhost reference at start) Viewer /public/anyplace_viewer/app.js (multiple functions and var property) /public/anyplace_viewer/index.html (multiple href) /public/anyplace_viewer/scripts/AnyplaceAPI.js (localhost reference at start) /public/anyplace_viewer/controllers/PoiController.js (getPoiShareUrl) Viewer Campus /public/anyplace_viewer_campus/app.js (getBuildingViewerUrl) /public/anyplace_viewer_campus/index.html (multiple href) /public/anyplace_viewer_campus/scripts/AnyplaceAPI.js (localhost reference at start) /public/anyplace_viewer_campus/controllers/PoiController.js (getPoiShareUrl)
It would be nice to be able to modify a property/config file to be able to deploy this locally instead of needing to replace in the code & rebuild, or explode the JARs to make modifications.
When deploying the server to a hosted environment, there are places in the JAR files that have to be modified. I'm sure I haven't found them all, but here are the ones I know of so far.
AnyplaceAPI.FULL_SERVER
needs to be changed in the following files:you need to create a google api key and replace it in:
I will continue to add more as I become aware.