Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

INSTALL: Fix setting content-type on well-known #8793

Merged
merged 2 commits into from
Nov 23, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Apply suggestions from code review
  • Loading branch information
anoadragon453 authored Nov 23, 2020
commit e0e9dfbb79c8dcff9790803a748d05ecdc977f3f
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ In nginx this would be something like:
```
location /.well-known/matrix/client {
return 200 '{"m.homeserver": {"base_url": "https://<matrix.example.com>"}}';
default_type "application/json";
default_type application/json;
add_header Access-Control-Allow-Origin *;
}
```
Expand Down
2 changes: 1 addition & 1 deletion changelog.d/8793.doc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Fixed the example on how to set the `Content-Type` header in nginx for Client Well-Known URI.
Fix the example on how to set the `Content-Type` header in nginx for the Client Well-Known URI.