https a bunch of things

This commit is contained in:
Shish
2020-03-25 11:47:00 +00:00
parent c3b67f346b
commit 03806d0420
25 changed files with 63 additions and 63 deletions

View File

@ -22,8 +22,8 @@ class DanbooruApi extends Extension
// Hackery for danbooruup 0.3.2 providing the wrong view url. This simply redirects to the proper
// Shimmie view page
// Example: danbooruup says the url is http://shimmie/api/danbooru/post/show/123
// This redirects that to http://shimmie/post/view/123
// Example: danbooruup says the url is https://shimmie/api/danbooru/post/show/123
// This redirects that to https://shimmie/post/view/123
elseif ($event->page_matches("api/danbooru/post/show")) {
$fixedlocation = make_link("post/view/" . $event->get_arg(0));
$page->set_mode(PageMode::REDIRECT);