Compare commits

..

No commits in common. "master" and "master" have entirely different histories.

2 changed files with 7 additions and 5 deletions

View File

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

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.slice(4);
else if (location.host.indexOf("www") === 0)
if (location.host.indexOf("www") !== 0)
location.host = "www2." + location.host;
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;