2016-09-24 14:47:51 +03:00
|
|
|
- content_for :header_tags do
|
2017-01-09 13:37:15 +02:00
|
|
|
:javascript
|
2017-02-04 01:34:31 +02:00
|
|
|
window.STREAMING_API_BASE_URL = '#{Rails.configuration.x.streaming_api_base_url}';
|
2017-01-12 04:54:50 +02:00
|
|
|
window.INITIAL_STATE = #{json_escape(render(file: 'home/initial_state', formats: :json))}
|
2017-01-09 13:37:15 +02:00
|
|
|
|
2016-09-24 14:47:51 +03:00
|
|
|
= javascript_include_tag 'application'
|
|
|
|
|
2016-09-20 00:25:59 +03:00
|
|
|
= react_component 'Mastodon', default_props, class: 'app-holder', prerender: false
|