I am trying to figure out why my printTask is not working when I host my .NET Core app on a server. It works locally, when I run the code via Visual Studio but not when I publish and host the app.
For example, it works on line 12 in the code below. queryTask.execute(query).then(zoomToRoute) works but it does not work. I am not sure how or why it works when I run the app via Visual Studio but all I know is, it doesn't work when I host the app. Anyone with any insight will help me out, so please feel free to share any opinion.