From 17158a9132dbba230c362bcec697fa5c08106e87 Mon Sep 17 00:00:00 2001 From: Efrain Bastidas Date: Sun, 4 Sep 2022 17:27:27 -0500 Subject: [PATCH] [Infrastructure] Changelog fix --- lib/infrastructure/api_service.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/infrastructure/api_service.dart b/lib/infrastructure/api_service.dart index 27426cff4..c8722f4da 100644 --- a/lib/infrastructure/api_service.dart +++ b/lib/infrastructure/api_service.dart @@ -1,7 +1,6 @@ import 'package:dio/dio.dart'; import 'package:shiori/domain/services/api_service.dart'; import 'package:shiori/domain/services/logging_service.dart'; -import 'package:shiori/infrastructure/secrets.dart'; class ApiServiceImpl implements ApiService { final LoggingService _loggingService; @@ -13,7 +12,7 @@ class ApiServiceImpl implements ApiService { @override Future getChangelog(String defaultValue) async { try { - final url = '${Secrets.assetsBaseUrl}/changelog.md'; + const url = 'https://raw.githubusercontent.com/Wolfteam/Shiori/main/Changelog.md'; final response = await _dio.getUri(Uri.parse(url)); if (response.statusCode != 200) { _loggingService.warning(