Add /vg/ image redirection.
This commit is contained in:
parent
2e13196563
commit
8f043ac1bb
@ -3337,6 +3337,7 @@
|
||||
case 'm':
|
||||
case 'tg':
|
||||
case 'u':
|
||||
case 'vg':
|
||||
return "http://archive.foolz.us/" + href[3] + "/full_image/" + href[5];
|
||||
}
|
||||
},
|
||||
|
||||
@ -2724,7 +2724,7 @@ redirect =
|
||||
# Do not use g.BOARD, the image url can originate from a cross-quote.
|
||||
return unless conf['404 Redirect']
|
||||
switch href[3]
|
||||
when 'a', 'jp', 'm', 'tg', 'u'
|
||||
when 'a', 'jp', 'm', 'tg', 'u', 'vg'
|
||||
"http://archive.foolz.us/#{href[3]}/full_image/#{href[5]}"
|
||||
thread: ->
|
||||
return unless conf['404 Redirect']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user