mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-29 13:53:54 +01:00
* logs * Issue resolved * Logs removed * Beta working * Production GET call only for fetch images from depicted item * Code convention maintained * Code convention maintained * Test resolved * Java Docs added * Quotes added
This commit is contained in:
parent
7bcaab2442
commit
0914eeea53
6 changed files with 162 additions and 5 deletions
18
app/src/main/java/fr/free/nrw/commons/BetaConstants.kt
Normal file
18
app/src/main/java/fr/free/nrw/commons/BetaConstants.kt
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
package fr.free.nrw.commons
|
||||
|
||||
/**
|
||||
* Production variant related constants which is used in beta variant for some specific GET calls on
|
||||
* production server where beta server does not work
|
||||
*/
|
||||
object BetaConstants {
|
||||
/**
|
||||
* Commons production URL which is used in beta for some specific GET calls on
|
||||
* production server where beta server does not work
|
||||
*/
|
||||
const val COMMONS_URL = "https://commons.wikimedia.org/"
|
||||
/**
|
||||
* Commons production's depicts property which is used in beta for some specific GET calls on
|
||||
* production server where beta server does not work
|
||||
*/
|
||||
const val DEPICTS_PROPERTY = "P180"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue