Remove debug constant.

This commit is contained in:
FireMasterK 2021-09-10 00:58:24 +05:30
parent 27d9277e64
commit aae627a423
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD
2 changed files with 0 additions and 5 deletions

View file

@ -21,8 +21,6 @@ import me.kavin.piped.utils.PageMixin;
public class Constants {
public static final boolean debug = false;
public static final String USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0";
public static final int PORT;

View file

@ -1057,9 +1057,6 @@ public class ResponseHelper {
private static String rewriteURL(final String old) {
if (Constants.debug)
return old;
if (old == null || old.isEmpty())
return null;