add charset to config.html
[uweb.git] / redirect.html
blob41976515f701f647c67e1d5892775189cd0bcb1a
1 <head>
2 <script type="text/javascript">
3 var ls = navigator.languages;
4 for(var i in ls){
5 if(ls[i].startsWith("en")) {location.href="en/index.html";break;}
6 if(ls[i].startsWith("zh")) {location.href="zh/index.html";break;}
8 </script>
9 </head>