Mercurial Hosting > luan
view website/src/site.js @ 2124:9706beda7f13 ssltesting tip
remove autoindex and add try_files under acme-challenge
| author | Violet7 |
|---|---|
| date | Mon, 12 Jan 2026 11:21:35 -0800 |
| parents | 31f006c64782 |
| children |
line wrap: on
line source
'use strict'; function setLanguage(lang) { console.log(lang); let path = location.pathname; if( path.match(/^\/[a-z]{2}\//) ) path = path.substring(3); if( lang !== 'en' ) path = "/" + lang + path; location = path; }
