Fix my shit

This commit is contained in:
Kabir Sala 2014-02-21 00:00:24 +01:00
parent 8b38aaea1a
commit ced84988e1

View File

@ -22,8 +22,8 @@ Redirect =
Redirect.data = o Redirect.data = o
archives: archives: [
"Foolz": name: "Foolz"
boards: ["a", "biz","co", "gd", "jp", "m", "sp", "tg", "tv", "v", "vg", "vp", "vr", "wsg"] boards: ["a", "biz","co", "gd", "jp", "m", "sp", "tg", "tv", "v", "vg", "vp", "vr", "wsg"]
files: ["a", "biz","gd", "jp", "m", "tg", "vg", "vp", "vr", "wsg"] files: ["a", "biz","gd", "jp", "m", "tg", "vg", "vp", "vr", "wsg"]
data: data:
@ -31,8 +31,8 @@ Redirect =
http: false http: false
https: true https: true
software: "foolfuuka" software: "foolfuuka"
,
"NSFW Foolz": name: "NSFW Foolz"
boards: ["u"] boards: ["u"]
files: ["u"] files: ["u"]
data: data:
@ -40,8 +40,8 @@ Redirect =
http: false http: false
https: true https: true
software: "foolfuuka" software: "foolfuuka"
,
"The Dark Cave": name: "The Dark Cave"
boards: ["c", "int", "out", "po"] boards: ["c", "int", "out", "po"]
files: ["c", "po"] files: ["c", "po"]
data: data:
@ -49,8 +49,8 @@ Redirect =
http: true http: true
https: true https: true
software: "foolfuuka" software: "foolfuuka"
,
"4plebs": name: "4plebs"
boards: ["adv", "hr", "o", "pol", "s4s", "tg", "tv", "x"] boards: ["adv", "hr", "o", "pol", "s4s", "tg", "tv", "x"]
files: ["adv", "hr", "o", "pol", "s4s", "tg", "tv", "x"] files: ["adv", "hr", "o", "pol", "s4s", "tg", "tv", "x"]
data: data:
@ -58,8 +58,8 @@ Redirect =
http: true http: true
https: true https: true
software: "foolfuuka" software: "foolfuuka"
,
"Nyafuu": name: "Nyafuu"
boards: ["c", "e", "w", "wg"] boards: ["c", "e", "w", "wg"]
files: ["c", "e", "w", "wg"] files: ["c", "e", "w", "wg"]
data: data:
@ -67,8 +67,8 @@ Redirect =
http: true http: true
https: true https: true
software: "foolfuuka" software: "foolfuuka"
,
"Love is Over": name: "Love is Over"
boards: ["d", "i"] boards: ["d", "i"]
files: ["d", "i"] files: ["d", "i"]
data: data:
@ -76,8 +76,8 @@ Redirect =
http: true http: true
https: true https: true
software: "foolfuuka" software: "foolfuuka"
,
"Install Gentoo (.net)": name: "Install Gentoo"
boards: ["diy", "g", "sci"] boards: ["diy", "g", "sci"]
files: [] files: []
data: data:
@ -85,62 +85,58 @@ Redirect =
http: false http: false
https: true https: true
software: "fuuka" software: "fuuka"
,
"Install Gentoo (.com)": name: "Rebecca Black Tech"
boards: ["t", "g"]
files: ["t", "g"]
data:
domain: "archive.installgentoo.com/"
http: true
https: true
software: "foolfuuka"
"Rebecca Black Tech":
boards: ["cgl", "g", "mu", "w"] boards: ["cgl", "g", "mu", "w"]
files: ["cgl", "g", "mu", "w"] files: ["cgl", "g", "mu", "w"]
data: data:
domain: "rbt.asia" domain: "archive.rebeccablacktech.com"
http: true http: true
https: true https: true
software: "fuuka" software: "fuuka"
,
"Heinessen": name: "Heinessen"
boards: ["an", "fit", "k", "mlp", "r9k", "toy"] boards: ["an", "fit", "k", "mlp", "r9k", "toy"]
files: ["an", "fit", "k", "r9k", "toy"] files: ["an", "fit", "k", "r9k", "toy"]
data: data:
domain: "archive.heinessen.com" domain: "archive.heinessen.com"
http: true http: true
software: "fuuka" software: "fuuka"
,
"warosu": name: "warosu"
boards: ["3", "biz", "cgl", "ck", "fa", "ic", "jp", "lit", "tg", "vr"] boards: ["3", "cgl", "ck", "fa", "ic", "jp", "lit", "tg", "vr"]
files: ["3", "biz", "cgl", "ck", "fa", "ic", "jp", "lit", "tg", "vr"] files: ["3", "cgl", "ck", "fa", "ic", "jp", "lit", "tg", "vr"]
data: data:
domain: "fuuka.warosu.org" domain: "fuuka.warosu.org"
http: true
https: true https: true
software: "fuuka" software: "fuuka"
,
"fgst": name: "fgts"
boards: ["r", "soc"], boards: ["r", "soc"]
files: ["r", "soc"] files: ["r", "soc"]
data: data:
domain: "fgst.eu" domain: "fgst.eu"
http: true http: true
https: true https: true
software: "foolfuuka" software: "foolfuuka"
,
"maware": name: "maware"
boards: ["t"], boards: ["t"]
files: ["t"] files: ["t"]
data: data:
domain: "archive.mawa.re" domain: "archive.mawa.re"
http: true http: true
https: false
software: "foolfuuka" software: "foolfuuka"
,
"Foolz Beta": name: "installgentoo.com"
boards: ["g", "t"]
files: ["g", "t"]
data:
domain: "chan.installgentoo.com"
http: true
software: "foolfuuka"
,
name: "Foolz Beta"
boards: ["a", "biz", "co", "d", "gd", "jp", "m", "mlp", "s4s", "sp", "tg", "tv", "u", "v", "vg", "vp", "vr", "wsg"], boards: ["a", "biz", "co", "d", "gd", "jp", "m", "mlp", "s4s", "sp", "tg", "tv", "u", "v", "vg", "vp", "vr", "wsg"],
files: ["a", "biz", "d", "gd", "jp", "m", "s4s", "tg", "u", "vg", "vp", "vr", "wsg"] files: ["a", "biz", "d", "gd", "jp", "m", "s4s", "tg", "u", "vg", "vp", "vr", "wsg"]
data: data:
@ -149,6 +145,7 @@ Redirect =
https: true https: true
withCredentials: true withCredentials: true
software: "foolfuuka" software: "foolfuuka"
]
to: (dest, data) -> to: (dest, data) ->
archive = (if dest is 'search' then Redirect.data.thread else Redirect.data[dest])[data.boardID] archive = (if dest is 'search' then Redirect.data.thread else Redirect.data[dest])[data.boardID]