chore: clean repo for CV sharing
- Remove hardcoded Gitea token, use BuildConfig instead - Remove unnecessary CHANGELOG.md
This commit is contained in:
@@ -25,8 +25,8 @@ class UpdateService(context: Context) {
|
||||
private const val REPO_OWNER = "renato97"
|
||||
private const val REPO_NAME = "iptv-app"
|
||||
|
||||
// Token de Gitea para acceder a releases privados
|
||||
private const val GITEA_TOKEN = "efeed2af00597883adb04da70bd6a7c2993ae92d"
|
||||
// Token de Gitea para acceder a releases - obtenido de BuildConfig
|
||||
private val GITEA_TOKEN: String = BuildConfig.GITEA_TOKEN
|
||||
|
||||
// Endpoints
|
||||
private const val LATEST_RELEASE_ENDPOINT = "$GITEA_API_URL/repos/$REPO_OWNER/$REPO_NAME/releases/latest"
|
||||
|
||||
Reference in New Issue
Block a user