Error loading target-script-min.js


#1

Hi All,

When my app loads on a device (iPad) with an internet connection, it doesn’t find the min.js file, I get the following error:

“Failed to load resource: The certificate for this server is invalid. You might be connecting to a server that is pretending to be “nsbapp.com” which could put your confidential information at risk.”

With the following link: https://nsbapp.com/debugger/target/target-script-min.js#hvbjPC6FlightSpan7001

The app loads fine if the device has an internet connection or is offline completely. However, when the device is connected to a network that does NOT have an internet connection it will not load–in the debugger I get an ajax loader on:

  target-script-min.js     nsbapp.com

My app connects via wifi to an aircraft tracking device that does not have an internet connection, so this is a showstopper for me.

Any ideas? Thanks much!

I’m developing with AppStudio version 5.2.1.3

Nate


#2

The nsbapp.com site was shut down about a year ago:

http://blog.nsbasic.com/2017/03/the-future-of-nsbapp-com/

“target-script” is some code that AppStudio used to use for debugging. You can turn it off by setting “Debugger” to false in Project Properties.

Also, have a look at the AppStudio 6. It has a lot of new features.


#3

Thanks George. Turning off ‘Debugger’ worked.

Nate