detect github document.referrer and it use it as app url