mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-12 05:24:18 -05:00
Merge pull request #329 from matrix-org/erikj/static
Move static folder into synapse
This commit is contained in:
commit
f7e14bb535
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user