summary refs log tree commit diff
path: root/synapse/app
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-11-05 15:35:05 +0000
committerErik Johnston <erik@matrix.org>2015-11-05 15:35:05 +0000
commit7a5ea067e2e5470f6d1e0205a740fd9ea389531c (patch)
treece8db7f95fd245afbb99e1dfecf9dbeaf6db0b30 /synapse/app
parentMerge pull request #341 from matrix-org/markjh/v2_sync_receipts (diff)
parentMerge branch 'release-v0.10.1' of github.com:matrix-org/synapse into release-... (diff)
downloadsynapse-7a5ea067e2e5470f6d1e0205a740fd9ea389531c.tar.xz
Merge branch 'release-v0.10.1' of github.com:matrix-org/synapse into develop
Diffstat (limited to 'synapse/app')
-rwxr-xr-xsynapse/app/homeserver.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index cf2fa221dc..a77535a4ee 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -132,7 +132,9 @@ class SynapseHomeServer(HomeServer):
 
     def build_resource_for_static_content(self):
         # This is old and should go away: not going to bother adding gzip
-        return File("static")
+        return File(
+            os.path.join(os.path.dirname(synapse.__file__), "static")
+        )
 
     def build_resource_for_content_repo(self):
         return ContentRepoResource(