瀏覽代碼

Serve /.well-known/matrix/server with proper Content-Type

pull/245/head
Slavi Pantaleev 7 年之前
committed by GitHub
父節點
當前提交
d675cb3d4b
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      examples/apache/matrix-synapse.conf

+ 3
- 0
examples/apache/matrix-synapse.conf 查看文件

@@ -56,6 +56,9 @@
<Files "/matrix/static-files/.well-known/matrix/server">
Require all granted
</Files>
<Location "/.well-known/matrix/server">
Header always set Content-Type "application/json"
</Location>
<Directory /matrix/static-files/.well-known/matrix/>
AllowOverride All
# Apache 2.4:


Loading…
取消
儲存