Skip to content

Commit 0ec1797

Browse files
committed
fixed develepment mode
1 parent 6361ddd commit 0ec1797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/layouts/layout.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<script src="//use.typekit.net/vvs3qav.js"></script>
1111
<script>try{Typekit.load();}catch(e){}</script>
1212
<script>
13-
if (location.host != "berlincodeofconduct.org" && location.host != "localhost") {
13+
if (location.host != "berlincodeofconduct.org" && location.hostname != "localhost") {
1414
location.href = "http://berlincodeofconduct.org/<%= "#{I18n.locale}/" unless I18n.locale == :en %>";
1515
}
1616
</script>

0 commit comments

Comments
 (0)