angular - Angular2 App with external reference to Auth0Lock fails with NotFound Error when run from Azure -
i have been building , app based on angular2-seed. using seed's production build combines local js code single app.js file deployment. works fine on local machine, when move azure website. loading page produces error:
> referenceerror: auth0lock not defined
it defined in external link:
<script src="https://cdn.auth0.com/js/lock/10.0/lock.js">/script>
this included in <head> section of index.html, before app.js file, included in body.
my code reference component
this.lock = new auth0lock('pwc5...
is there setting on azure preventing load of external file? or else going on?
thanks in advance input.
hal had answer: "this sort of thing has cropped before, dave, , has been due human error." gary liu of msft pointing me in right direction. version of index.html had on azure wasn't 1 thought was.
Comments
Post a Comment