diff options
-rw-r--r-- | lib/pleroma/web/templates/mastodon_api/mastodon/index.html.eex | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/pleroma/web/templates/mastodon_api/mastodon/index.html.eex b/lib/pleroma/web/templates/mastodon_api/mastodon/index.html.eex index f96b15d64..6a00b9e2c 100644 --- a/lib/pleroma/web/templates/mastodon_api/mastodon/index.html.eex +++ b/lib/pleroma/web/templates/mastodon_api/mastodon/index.html.eex @@ -9,14 +9,17 @@ <link rel="icon" type="image/png" href="/favicon.png"/> <link rel="stylesheet" media="all" href="/packs/common.css" /> <link rel="stylesheet" media="all" href="/packs/default.css" /> -<link rel="stylesheet" media="all" href="/packs/pl-dark-masto-fe.css" /> <script src="/packs/common.js"></script> <script src="/packs/locale_en.js"></script> +<link as='script' crossorigin='anonymous' href='/packs/features/getting_started.js' rel='preload'> +<link as='script' crossorigin='anonymous' href='/packs/features/compose.js' rel='preload'> +<link as='script' crossorigin='anonymous' href='/packs/features/home_timeline.js' rel='preload'> +<link as='script' crossorigin='anonymous' href='/packs/features/notifications.js' rel='preload'> <script id='initial-state' type='application/json'><%= raw @initial_state %></script> <script src="/packs/application.js"></script> </head> -<body class='app-body'> +<body class='app-body no-reduce-motion'> <div class='app-holder' data-props='{"locale":"en"}' id='mastodon'> </div> </body> |