Updates from idk when...
This commit is contained in:
+2
-1
@@ -54,7 +54,7 @@ final apiProvider = StateNotifierProvider<_ApiNotifier, Dio>((ref) {
|
||||
|
||||
class _ApiNotifier extends StateNotifier<Dio> {
|
||||
_ApiNotifier(this.ref, this.dio) : super(dio) {
|
||||
// dio.options.baseUrl = "https://fe7d-136-36-2-234.ngrok-free.app";
|
||||
// dio.options.baseUrl = "https://af70-136-36-2-234.ngrok-free.app/";
|
||||
// dio.options.baseUrl = "http://localhost:8081/";
|
||||
dio.options.baseUrl = "https://rluv.fosscat.com/";
|
||||
dio.interceptors.addAll([
|
||||
@@ -93,6 +93,7 @@ class _ApiNotifier extends StateNotifier<Dio> {
|
||||
if (err.response?.statusCode == 403) {
|
||||
ref.read(jwtProvider.notifier).revokeToken();
|
||||
}
|
||||
return handler.next(err);
|
||||
}),
|
||||
_LoggingInterceptor(),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user