mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Remove debug constant.
This commit is contained in:
parent
27d9277e64
commit
aae627a423
2 changed files with 0 additions and 5 deletions
|
@ -21,8 +21,6 @@ import me.kavin.piped.utils.PageMixin;
|
||||||
|
|
||||||
public class Constants {
|
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 String USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0";
|
||||||
|
|
||||||
public static final int PORT;
|
public static final int PORT;
|
||||||
|
|
|
@ -1057,9 +1057,6 @@ public class ResponseHelper {
|
||||||
|
|
||||||
private static String rewriteURL(final String old) {
|
private static String rewriteURL(final String old) {
|
||||||
|
|
||||||
if (Constants.debug)
|
|
||||||
return old;
|
|
||||||
|
|
||||||
if (old == null || old.isEmpty())
|
if (old == null || old.isEmpty())
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue