diff options
author | Erik Johnston <erik@matrix.org> | 2015-11-05 15:35:05 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-11-05 15:35:05 +0000 |
commit | 7a5ea067e2e5470f6d1e0205a740fd9ea389531c (patch) | |
tree | ce8db7f95fd245afbb99e1dfecf9dbeaf6db0b30 /synapse/app | |
parent | Merge pull request #341 from matrix-org/markjh/v2_sync_receipts (diff) | |
parent | Merge branch 'release-v0.10.1' of github.com:matrix-org/synapse into release-... (diff) | |
download | synapse-7a5ea067e2e5470f6d1e0205a740fd9ea389531c.tar.xz |
Merge branch 'release-v0.10.1' of github.com:matrix-org/synapse into develop
Diffstat (limited to 'synapse/app')
-rwxr-xr-x | synapse/app/homeserver.py | 4 |
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( |