|
@@ -448,7 +448,7 @@ def site_embed_js():
|
|
|
js_i18n = cache.get('site_embed_js_%s' % (l,))
|
|
|
if not js_i18n:
|
|
|
js_i18n = render_template('site_embed.js')
|
|
|
- cache.set('site_js_%s' % (l,), js_i18n, timeout=60 * 60)
|
|
|
+ cache.set('site_embed_js_%s' % (l,), js_i18n, timeout=60 * 60)
|
|
|
r = Response(js_i18n, headers={
|
|
|
'Content-type': 'application/javascript',
|
|
|
'Cache-control': 'private, max-age=3600'
|