Commit 790badcb authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch 'fix_preconnect_typo' into 'master'

Fix preconnect typo

See merge request gitlab-org/gitlab!33255
parents e77ef9a9 559285bc
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
- if ActionController::Base.asset_host - if ActionController::Base.asset_host
%link{ rel: 'dns-prefetch', href: ActionController::Base.asset_host } %link{ rel: 'dns-prefetch', href: ActionController::Base.asset_host }
%link{ rel: 'preconnnect', href: ActionController::Base.asset_host, crossorigin: '' } %link{ rel: 'preconnect', href: ActionController::Base.asset_host, crossorigin: '' }
%meta{ 'http-equiv' => 'X-UA-Compatible', content: 'IE=edge' } %meta{ 'http-equiv' => 'X-UA-Compatible', content: 'IE=edge' }
......
---
title: Fix preconnect typo in rel link
merge_request: 33255
author:
type: performance
...@@ -50,7 +50,7 @@ describe 'layouts/_head' do ...@@ -50,7 +50,7 @@ describe 'layouts/_head' do
it 'adds a link preconnect tag' do it 'adds a link preconnect tag' do
render render
expect(rendered).to match(%Q(<link crossorigin="" href="#{asset_host}" rel="preconnnect">)) expect(rendered).to match(%Q(<link crossorigin="" href="#{asset_host}" rel="preconnect">))
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment