Commit 6ba8b2c2 authored by jan.koester's avatar jan.koester
Browse files

test

parent 05ae9a0e
Loading
Loading
Loading
Loading
+2 −2
Changes for plugins/media/media.cpp: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -646,8 +646,8 @@ namespace blogi {
                std::string rawUrl = "/media/" + mediaId + "/preview";
                std::string sep = "?";
                if(!fmt.empty()){ rawUrl += sep + "fmt=" + fmt; sep = "&"; }
                if(reqWidth > 0){ rawUrl += sep + "width=" + std::to_string(reqWidth); sep = "&"; }
                if(reqHeight > 0){ rawUrl += sep + "height=" + std::to_string(reqHeight); sep = "&"; }
                if(reqWidth > 0){ rawUrl += sep + "w=" + std::to_string(reqWidth); sep = "&"; }
                if(reqHeight > 0){ rawUrl += sep + "h=" + std::to_string(reqHeight); sep = "&"; }
                std::cerr << "media: upstream rawUrl=" << rawUrl << std::endl;
                libhttppp::HttpRequest dataReq;
                dataReq.setRequestURL(rawUrl);