Compare commits

...

4 Commits

2 changed files with 5 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# FemboyFinancial.co.jp
# FemboyFinancial.jp
## Requirements
@ -16,6 +16,4 @@ The website is optimized for Internet Explorer 8 and above. That being said, it
## Deployment
- staging site is located at ff.howfeed.biz
- production will be at femboyfinancial.co.jp (not yet purchased)
production deployment is located at [femboyfinancial.jp](femboyfinancial.jp)

View File

@ -5,9 +5,9 @@ function ask() {
if (e.message === 'Permission denied') {
if (!askedOnce)
return;
if (location.host.indexOf("www") !== 0)
location.host = "www2." + location.host;
else if (location.host.indexOf("www.") !== 0)
if (location.host.indexOf("www.") === 0)
location.host = "www2." + location.host.slice(4);
else if (location.host.indexOf("www") === 0)
location.host = "www" + (Number(location.host[3]) + 1) + "." + location.host.slice(5);
else
location.host = "www." + location.host;