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