Loading plugins/media/media.cpp +2 −2 Changes for plugins/media/media.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -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); Loading Loading
plugins/media/media.cpp +2 −2 Changes for plugins/media/media.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -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); Loading