Skip to content

Commit

Permalink
moved the streetcomplete stuff to streetcomplete.app
Browse files Browse the repository at this point in the history
  • Loading branch information
westnordost committed Dec 8, 2024
1 parent dbfa846 commit cc2b690
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ object ApplicationConstants {

const val AVATARS_CACHE_DIRECTORY = "osm_user_avatars"

const val SC_PHOTO_SERVICE_URL = "https://westnordost.de/streetcomplete/photo-upload/" // must have trailing /
const val SC_PHOTO_SERVICE_URL = "https://streetcomplete.app/photo-upload/" // must have trailing /

const val ATTACH_PHOTO_QUALITY = 80
const val ATTACH_PHOTO_MAXWIDTH = 1280 // WXGA
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import org.koin.core.qualifier.named
import org.koin.dsl.module

val uploadModule = module {
factory { VersionIsBannedChecker(get(), "https://www.westnordost.de/streetcomplete/banned_versions.txt", ApplicationConstants.USER_AGENT) }
factory { VersionIsBannedChecker(get(), "https://streetcomplete.app/banned_versions.txt", ApplicationConstants.USER_AGENT) }

single { Uploader(get(), get(), get(), get(), get(), get(), get(named("SerializeSync"))) }
/* uploading and downloading should be serialized, i.e. may not run in parallel, to avoid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package de.westnordost.streetcomplete.data.user.statistics
import org.koin.core.qualifier.named
import org.koin.dsl.module

private const val STATISTICS_BACKEND_URL = "https://www.westnordost.de/streetcomplete/statistics/"
private const val STATISTICS_BACKEND_URL = "https://streetcomplete.app/statistics/"
val statisticsModule = module {

factory(named("EditTypeStatistics")) { EditTypeStatisticsDao(get(), EditTypeStatisticsTables.NAME) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ class VersionIsBannedCheckerTest {
}
}

private const val URL = "https://westnordost.de/streetcomplete/banned_versions.txt"
private const val URL = "https://streetcomplete.app/banned_versions.txt"

0 comments on commit cc2b690

Please sign in to comment.