Piped-Alpine/backend.patch

28 lines
1.1 KiB
Diff
Raw Normal View History

2023-07-03 13:24:45 +03:00
diff --git a/build.gradle b/build.gradle
2023-07-03 15:26:43 +03:00
index f68c2d6..9d568d2 100644
2023-07-03 13:24:45 +03:00
--- a/build.gradle
+++ b/build.gradle
@@ -40,7 +40,8 @@ dependencies {
implementation 'com.squareup.okhttp3:okhttp'
implementation 'com.squareup.okhttp3:okhttp-brotli'
implementation 'io.sentry:sentry:6.24.0'
- implementation 'rocks.kavin:reqwest4j:1.0.5'
2023-07-03 15:26:43 +03:00
+ //implementation 'rocks.kavin:reqwest4j:1.0.5'
2023-07-03 13:24:45 +03:00
+ implementation files('libs/reqwest4j.jar')
implementation 'io.minio:minio:8.5.4'
}
2023-07-03 15:26:43 +03:00
diff --git a/src/main/java/me/kavin/piped/Main.java b/src/main/java/me/kavin/piped/Main.java
index b38464a..42c8f96 100644
--- a/src/main/java/me/kavin/piped/Main.java
+++ b/src/main/java/me/kavin/piped/Main.java
@@ -36,7 +36,7 @@ public class Main {
YoutubeStreamExtractor.forceFetchIosClient(true);
Sentry.init(options -> {
- options.setDsn(Constants.SENTRY_DSN);
+ options.setDsn("");
options.setRelease(Constants.VERSION);
options.addIgnoredExceptionForType(ErrorResponse.class);
options.setTracesSampleRate(0.1);