more episodes
This commit is contained in:
parent
3e27f55a76
commit
e47a4da840
2
fim.list
2
fim.list
|
@ -113,6 +113,8 @@ FIM 1446305400 5 21 Scare Master
|
|||
FIM 1446913800 5 22 What About Discord
|
||||
FIM 1447518600 5 23 The Hooffields and McColts
|
||||
FIM 1448123400 5 24 The Mane Attraction
|
||||
FIM 1448726400 5 25 The Cutie Re-Mark Part 1
|
||||
FIM 1448728200 5 26 The Cutie Re-Mark Part 2
|
||||
FIM 1371340800 99 1 Equestria Girls
|
||||
FIM 1411862400 99 2 Equestria Girls - Rainbow Rocks
|
||||
FIM 1443321000 99 3 Equestria Girls - Friendship Games
|
||||
|
|
|
@ -56,7 +56,7 @@ proc `%`(why: string): JsonNode =
|
|||
|
||||
template httpReply(code, body: expr): expr =
|
||||
## Make things a lot simpler for replies, etc.
|
||||
if request.headers["X-API-Options"] == "bare" or @"options" == "bare":
|
||||
if request.headers.getOrDefault("X-API-Options") == "bare" or @"options" == "bare":
|
||||
# New "bare" reply format, easier to scrape, etc.
|
||||
resp code, myHeaders, pretty(%body, 4)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue