Skip to content

Commit c0fcfef

Browse files
committed
Fix isCloud
1 parent 146efd4 commit c0fcfef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/nocodb_sdk/utils.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
final _cloudHosts = [
22
'app.nocodb.com',
33
...(const String.fromEnvironment('NC_CLOUD_HOSTS').split(',')),
4-
];
4+
].where((h) => h.isNotEmpty);
55

66
bool isCloud(String host) => _cloudHosts.any((h) => host.contains(h));

0 commit comments

Comments
 (0)