Frontend first draft
This commit is contained in:
9
frontend/pshared/lib/utils/http/client/web.dart
Normal file
9
frontend/pshared/lib/utils/http/client/web.dart
Normal file
@@ -0,0 +1,9 @@
|
||||
import 'package:http/browser_client.dart';
|
||||
import 'package:http/http.dart' as http;
|
||||
|
||||
@override
|
||||
http.Client buildHttpClient() {
|
||||
final bc = BrowserClient();
|
||||
bc.withCredentials = true;
|
||||
return bc;
|
||||
}
|
||||
Reference in New Issue
Block a user