Bladeren bron

chore: replace = by : in conf

Zhongwen Deng 3 jaren geleden
bovenliggende
commit
8519b161dc
2 gewijzigde bestanden met toevoegingen van 10 en 10 verwijderingen
  1. 7 7
      apps/emqx_conf/etc/emqx_conf.conf
  2. 3 3
      apps/emqx_dashboard/etc/emqx_dashboard.conf

+ 7 - 7
apps/emqx_conf/etc/emqx_conf.conf

@@ -10,19 +10,19 @@
 
 node {
   name: "emqx@127.0.0.1"
-  cookie = emqxsecretcookie
-  data_dir = "{{ platform_data_dir }}"
-  etc_dir = "{{ platform_etc_dir }}"
+  cookie: emqxsecretcookie
+  data_dir: "{{ platform_data_dir }}"
+  etc_dir: "{{ platform_etc_dir }}"
 }
 
 log {
   file_handlers.default {
-    level = warning
-    file = "{{ platform_log_dir }}/emqx.log"
+    level: warning
+    file: "{{ platform_log_dir }}/emqx.log"
   }
 }
 
 cluster {
-  name = emqxcl
-  discovery_strategy = manual
+  name: emqxcl
+  discovery_strategy: manual
 }

+ 3 - 3
apps/emqx_dashboard/etc/emqx_dashboard.conf

@@ -1,7 +1,7 @@
 dashboard {
     listeners.http {
-        bind = 18083
+        bind: 18083
     }
-    default_username = "admin"
-    default_password = "public"
+    default_username: "admin"
+    default_password: "public"
 }