瀏覽代碼

refs 114331: send appSiteUrl only when allowed

Futa Arai 3 年之前
父節點
當前提交
7f08f9b086
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/app/src/server/service/questionnaire.ts

+ 1 - 1
packages/app/src/server/service/questionnaire.ts

@@ -39,7 +39,7 @@ class QuestionnaireService {
         arch: os.arch(),
         totalmem: os.totalmem(),
       },
-      appSiteUrl, // TODO: set only if allowed (see: https://dev.growi.org/6385911e1632aa30f4dae6a4#mdcont-%E5%8C%BF%E5%90%8D%E5%8C%96%E3%81%8C%E5%BF%85%E8%A6%81%E3%81%AA%E3%83%97%E3%83%AD%E3%83%91%E3%83%86%E3%82%A3)
+      appSiteUrl: this.crowi.configManager.getConfig('crowi', 'questionnaire:isAppSiteUrlHashed') ? null : appSiteUrl,
       appSiteUrlHashed,
       type: this.crowi.configManager.getConfig('crowi', 'app:serviceType'),
       currentUsersCount,