Merge pull request #10183 from colinux/fix-switch-domain-banner
Tech: corrige protocole http -> https pour tester la connectivité sur la favicon en prod
This commit is contained in:
commit
efebcfbc52
2 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
- if auto_switch?
|
||||
:javascript
|
||||
const hintUrl = "http://#{ApplicationHelper::APP_HOST}/favicon.ico"
|
||||
const hintUrl = "#{request.protocol}#{ApplicationHelper::APP_HOST}/favicon.ico"
|
||||
|
||||
fetch(hintUrl, { mode: 'cors' }).then(() => {
|
||||
window.location = '#{new_host_url}';
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 0 B After Width: | Height: | Size: 15 KiB |
Loading…
Reference in a new issue