Skip to content

Commit 012b1d2

Browse files
committed
js: serve the words ourselves
1 parent 4ba5ac4 commit 012b1d2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ function createElements(words) {
3535
// This fucking sucks
3636
var req = new XMLHttpRequest();
3737
req.overrideMimeType("application/json");
38-
req.open("GET", "https://cdn.jsdelivr.net/npm/an-array-of-english-words", true);
38+
req.open("GET", "/words.json", true);
3939
req.onload = function() { createElements(JSON.parse(req.responseText)) };
4040
req.send();

words.json

+1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)