Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion submissions/5735b994a6200f187771219a/src/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Word Classifier

```
wget https://cdn.rawgit.com/hola/challenge_word_classifier/1945d565fd929118c88fbceadfe4818d138e3b5f/words.txt
wget https://cdn.jsdelivr.net/gh/hola/challenge_word_classifier@1945d565fd929118c88fbceadfe4818d138e3b5f/words.txt
npm i --only=dev
node generate.js
npm run build
Expand Down
2 changes: 1 addition & 1 deletion submissions/5746cfcf63905b3a11d97bfb/src/words-load.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ mongoose.connect('mongodb://localhost/hola');

const BookWordModel = require('./BookWord.js');

request.get({ uri: `https://cdn.rawgit.com/hola/challenge_word_classifier/1945d565fd929118c88fbceadfe4818d138e3b5f/words.txt` }, (err, message, body) => {
request.get({ uri: `https://cdn.jsdelivr.net/gh/hola/challenge_word_classifier@1945d565fd929118c88fbceadfe4818d138e3b5f/words.txt` }, (err, message, body) => {

BookWordModel.remove({}, err => {
if(err) {
Expand Down