feat(network): add Bypass-Tunnel-Reminder header to support localtunnel / tunnel proxy endpoints

This commit is contained in:
ssbg04 committed 2026-08-18 17:03:26 +08:00
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() ?? '';