mirror of https://gitlab.com/bashrc2/epicyon
Don't need content-disposition
parent
0dd0cf916d
commit
4103672e07
|
@ -722,7 +722,6 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
'video/' in fileFormat:
|
||||
cache_control = 'public, max-age=84600, immutable'
|
||||
self.send_header('Cache-Control', cache_control)
|
||||
self.send_header('Content-Disposition', 'inline')
|
||||
else:
|
||||
self.send_header('Cache-Control', 'public')
|
||||
self.send_header('Origin', self.server.domainFull)
|
||||
|
|
Loading…
Reference in New Issue