Skip to content

Commit

Permalink
chore: update backend to *.ooni.org
Browse files Browse the repository at this point in the history
  • Loading branch information
aanorbel committed Sep 24, 2024
1 parent 2ec805f commit e0c307b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ android {
versionName '3.9.0-beta'
versionCode 119
testInstrumentationRunner "org.openobservatory.ooniprobe.TestAndroidJUnitRunner"
buildConfigField 'String', 'OONI_API_BASE_URL', '"https://api.prod.ooni.io"'
buildConfigField 'String', 'OONI_API_BASE_URL', '"https://api.ooni.org"'
buildConfigField 'String', 'NOTIFICATION_SERVER', '"https://countly.ooni.io"'
buildConfigField 'String', 'OONI_RUN_DASHBOARD_URL', '"https://run.ooni.org"'
resValue "string", "APP_ID", 'org.openobservatory.ooniprobe'
Expand Down Expand Up @@ -63,14 +63,11 @@ android {
resValue "string", "APP_ID", 'com.dw.ooniprobe'
resValue "string", "APP_NAME", "News Media Scan"
buildConfigField 'String', 'BASE_SOFTWARE_NAME', '"news-media-scan-android"'
buildConfigField 'String', 'OONI_API_BASE_URL', '"https://api.prod.ooni.io"'
buildConfigField "boolean", "SHOW_DISABLED_CARDS", "false"
}
stable {
dimension 'testing'
buildConfigField 'String', 'BASE_SOFTWARE_NAME', '"ooniprobe-android"'
buildConfigField 'String', 'OONI_API_BASE_URL', '"https://api.prod.ooni.io"'
buildConfigField 'String', 'OONI_RUN_DASHBOARD_URL', '"https://run.ooni.org"'
}
dev {
dimension 'testing'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public boolean canUpload(Measurement measurement) {
}

public String getExplorerUrl(Measurement measurement) {
String url = "https://explorer.ooni.io/measurement/" + measurement.report_id;
String url = "https://explorer.ooni.org/measurement/" + measurement.report_id;
if (measurement.test_name.equals("web_connectivity"))
url = url + "?input=" + measurement.url.url;
return url;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void masterClick() {
}

void slaveClick() {
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://ooni.io/about/risks/")));
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://ooni.org/about/risks/")));
}

@Override
Expand Down

0 comments on commit e0c307b

Please sign in to comment.