mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
hgwebdir_mod: fix a performance issue with static files
This commit is contained in:
parent
3d1747bbc3
commit
b49af937a1
@ -130,7 +130,7 @@ class hgwebdir(object):
|
||||
else:
|
||||
fname = req.form['static'][0]
|
||||
static = templater.templatepath('static')
|
||||
return staticfile(static, fname, req)
|
||||
return (staticfile(static, fname, req),)
|
||||
|
||||
# top-level index
|
||||
elif not virtual:
|
||||
|
Loading…
Reference in New Issue
Block a user