Skip to content

Commit

Permalink
[Infrastructure] Changelog fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfteam committed Sep 4, 2022
1 parent c1fb7ed commit 17158a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions 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;
Expand All @@ -13,7 +12,7 @@ class ApiServiceImpl implements ApiService {
@override
Future<String> 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<String>(Uri.parse(url));
if (response.statusCode != 200) {
_loggingService.warning(
Expand Down

0 comments on commit 17158a9

Please sign in to comment.