diff --git a/englishLangUsage.js b/englishLangUsage.js index 27c013b..32691d1 100644 --- a/englishLangUsage.js +++ b/englishLangUsage.js @@ -121,7 +121,7 @@ function admin(input){ function addSources(){ var nlpSrc = document.createElement('script'); - nlpSrc.setAttribute('src', 'https://npmcdn.com/nlp_compromise@latest/builds/nlp_compromise.min.js'); + nlpSrc.setAttribute('src', 'https://unpkg.com/nlp_compromise@latest/builds/nlp_compromise.min.js'); document.head.appendChild(nlpSrc); } function partOfSpeech(input){ diff --git a/noclass.js b/noclass.js index 8565937..11a8d9f 100644 --- a/noclass.js +++ b/noclass.js @@ -163,7 +163,7 @@ function whatThink(input){ } function addSources(){ var nlpSrc = document.createElement('script'); - nlpSrc.setAttribute('src', 'https://npmcdn.com/nlp_compromise@latest/builds/nlp_compromise.min.js'); + nlpSrc.setAttribute('src', 'https://unpkg.com/nlp_compromise@latest/builds/nlp_compromise.min.js'); document.head.appendChild(nlpSrc); } addModule(avocad);