lib/isomorfeus/ssr.rb in isomorfeus-preact-10.6.38 vs lib/isomorfeus/ssr.rb in isomorfeus-preact-10.6.39
- old
+ new
@@ -11,10 +11,10 @@
global.Exception = false;
global.IsomorfeusSessionId = session_id;
global.HasTransport = (typeof global.Opal.Isomorfeus.Transport !== 'undefined') && (api_ws_path !== '');
global.HasStore = typeof global.Opal.Isomorfeus.store !== 'undefined';
global.Opal.Isomorfeus['$env='](env);
- if (typeof global.Opal.Isomorfeus["$current_locale="] === 'function') { global.Opal.Isomorfeus["$current_locale="](''); }
+ if (typeof global.Opal.Isomorfeus["$current_locale="] === 'function') { global.Opal.Isomorfeus["$current_locale="](locale); }
global.Opal.Isomorfeus['$force_init!']();
global.Opal.Isomorfeus['$ssr_response_status='](200);
global.Opal.Isomorfeus.TopLevel['$ssr_route_path='](location);
if (global.HasTransport) {
global.Opal.Isomorfeus.TopLevel["$transport_ws_url="](transport_ws_url);
\ No newline at end of file