feat(network): add Bypass-Tunnel-Reminder header to support localtunnel / tunnel proxy endpoints
This commit is contained in:
1 parent
dd2d51e1ce
commit
e8af7c6a2a
1 file changed
+1
@@ -38,6 +38,7 @@ class ApiConstants {
|
||||
InterceptorsWrapper(
|
||||
onRequest: (options, handler) {
|
||||
options.baseUrl = _baseUrl;
|
||||
options.headers['Bypass-Tunnel-Reminder'] = 'true';
|
||||
|
||||
// Prevent unauthenticated or malformed token requests from hitting the server
|
||||
final authHeader = options.headers['Authorization']?.toString() ?? '';
|
||||
|
||||
Reference in new issue
Block a user