No need for Expires header anymore
This commit is contained in:
parent
ed8061b594
commit
23f0908f38
@ -72,7 +72,6 @@ class LiquorCabinet < Sinatra::Base
|
||||
'Access-Control-Expose-Headers' => 'ETag, Content-Length'
|
||||
headers['Access-Control-Allow-Origin'] = env["HTTP_ORIGIN"] if env["HTTP_ORIGIN"]
|
||||
headers['Cache-Control'] = 'no-cache'
|
||||
headers['Expires'] = '0'
|
||||
|
||||
@user, @key = params[:user], params[:key]
|
||||
@directory = params[:splat] && params[:splat].first || ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user