|
@@ -444,7 +444,7 @@ def site_js():
|
|
|
@ispdb.route('/site_embed.js', methods=['GET'])
|
|
|
def site_embed_js():
|
|
|
l = get_locale()
|
|
|
- js_i18n = cache.get('site_js_%s' % (l,))
|
|
|
+ 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)
|