Skip to content

Commit a4bce48

Browse files
authored
Update genlocals.js
Brotli is apparently bro...ken
1 parent b497aa1 commit a4bce48

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

genlocals.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ const genIndex = pug.compileFile(path.join(__dirname, '/src/template.pug'));
88

99

1010
(async() => {
11-
var feed = (await axios.get("https://cogcdn.cog.losno.co/mercury.json")).data
11+
var feed = (await axios.get("https://cogcdn.cog.losno.co/mercury.json",{
12+
headers: { "Accept-Encoding": "gzip,deflate,compress" }
13+
})).data
1214

1315
feed = feed.map(item => {
1416
item.PubDateFmt = moment(item.PubDate).format("dddd, MMMM Do YYYY, h:mm:ss a")

0 commit comments

Comments
 (0)