Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit 3ec397c

Browse files
Ensure all Androidacy API repo requests have referrer
Signed-off-by: androidacybot <45006100+androidacybot@users.noreply.github.com>
1 parent 1900372 commit 3ec397c

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"java.configuration.updateBuildConfiguration": "automatic"
3+
}

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ android {
1111
minSdk 21
1212
targetSdk 32
1313
versionCode 27
14-
versionName "0.3.0-rc3"
14+
versionName "0.3.0-rc4"
1515

1616
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1717
}

app/src/main/java/com/fox2code/mmm/androidacy/AndroidacyActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {
6262
return;
6363
}
6464
if (!url.endsWith(REFERRER) && (url.startsWith("https://www.androidacy.com/") ||
65-
url.startsWith("https://api.androidacy.com/magisk/readme/"))) {
65+
url.startsWith("https://api.androidacy.com/magisk/"))) {
6666
if (url.lastIndexOf('/') < url.lastIndexOf('?')) {
6767
url = url + '&' + REFERRER;
6868
} else {

0 commit comments

Comments
 (0)