mirror of
https://github.com/TeamPiped/Piped-Backend
synced 2025-09-04 04:21:20 +02:00
Remove debug constant.
This commit is contained in:
parent
27d9277e64
commit
aae627a423
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user