We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6361ddd commit 0ec1797Copy full SHA for 0ec1797
source/layouts/layout.erb
@@ -10,7 +10,7 @@
10
<script src="//use.typekit.net/vvs3qav.js"></script>
11
<script>try{Typekit.load();}catch(e){}</script>
12
<script>
13
- if (location.host != "berlincodeofconduct.org" && location.host != "localhost") {
+ if (location.host != "berlincodeofconduct.org" && location.hostname != "localhost") {
14
location.href = "http://berlincodeofconduct.org/<%= "#{I18n.locale}/" unless I18n.locale == :en %>";
15
}
16
</script>
0 commit comments