Skip to content
Snippets Groups Projects
Commit 68a04b92 authored by Matthew Hodgson's avatar Matthew Hodgson
Browse files

given everything's apparently gone https:// by default for c-s, change this hardcoding...

parent 399e0048
No related branches found
No related tags found
No related merge requests found
...@@ -325,7 +325,11 @@ class ContentRepoResource(resource.Resource): ...@@ -325,7 +325,11 @@ class ContentRepoResource(resource.Resource):
# FIXME (erikj): These should use constants. # FIXME (erikj): These should use constants.
file_name = os.path.basename(fname) file_name = os.path.basename(fname)
url = "http://%s/_matrix/content/%s" % ( # FIXME: we can't assume what the public mounted path of the repo is
# ...plus self-signed SSL won't work to remote clients anyway
# ...and we can't assume that it's SSL anyway, as we might want to
# server it via the non-SSL listener...
url = "https://%s/_matrix/content/%s" % (
self.hs.domain_with_port, file_name self.hs.domain_with_port, file_name
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment