浏览代码

Double quotes

Bob Mottram 8 年前
父节点
当前提交
f28b2081d1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/freedombone-app-xmpp

+ 1
- 1
src/freedombone-app-xmpp 查看文件

@@ -382,7 +382,7 @@ function xmpp_create_config {
382 382
     echo '    { levels = { "error" }; to = "/dev/null";  };' >> /etc/prosody/prosody.cfg.lua
383 383
     echo '}' >> /etc/prosody/prosody.cfg.lua
384 384
     echo '' >> /etc/prosody/prosody.cfg.lua
385
-    echo 'VirtualHost "${DEFAULT_DOMAIN_NAME}"' >> /etc/prosody/prosody.cfg.lua
385
+    echo "VirtualHost \"${DEFAULT_DOMAIN_NAME}\"" >> /etc/prosody/prosody.cfg.lua
386 386
     echo '    ssl = {' >> /etc/prosody/prosody.cfg.lua
387 387
     echo "        key = \"/etc/prosody/certs/${DEFAULT_DOMAIN_NAME}.key\";" >> /etc/prosody/prosody.cfg.lua
388 388
     echo "        certificate = \"/etc/prosody/certs/${DEFAULT_DOMAIN_NAME}.pem\";" >> /etc/prosody/prosody.cfg.lua