diff --git a/centrifugo-config.json b/centrifugo-config.json index 0967ef4..fe978db 100644 --- a/centrifugo-config.json +++ b/centrifugo-config.json @@ -1 +1,23 @@ -{} +{ + "admin": true, + "admin_insecure": true, + "namespaces": [ + { + "name": "public", + "presence": true, + "join_leave": true, + "force_push_join_leave": true, + "history_size": 10, + "history_ttl": "300s", + "force_recovery": true, + "allow_subscribe_for_client": true, + "allow_subscribe_for_anonymous": true, + "allow_publish_for_subscriber": true, + "allow_publish_for_anonymous": true, + "allow_history_for_subscriber": true, + "allow_history_for_anonymous": true, + "allow_presence_for_subscriber": true, + "allow_presence_for_anonymous": true + } + ] +} diff --git a/test/smoke/smoke_test.dart b/test/smoke/smoke_test.dart index 982fd59..2237e0c 100644 --- a/test/smoke/smoke_test.dart +++ b/test/smoke/smoke_test.dart @@ -8,7 +8,7 @@ void main() { final client = Spinify(); await client.connect(url); expect(client.state, isA()); - await client.ping(); + //await client.ping(); //await client.send(utf8.encode('Hello, Spinify!')); await client.disconnect(); expect(client.state, isA());