add login instruction

This commit is contained in:
xmcp
2019-06-21 10:32:47 +08:00
parent ac35adc772
commit f365bb1454
5 changed files with 48 additions and 18 deletions

View File

@@ -4,6 +4,9 @@ import './index.css';
import App from './App';
//import registerServiceWorker from './registerServiceWorker';
if(window.location.search.indexOf('user_token=')!==-1)
window.history.replaceState({},'?','?');
ReactDOM.render(<App />, document.getElementById('root'));
//registerServiceWorker();
if(navigator.serviceWorker && navigator.serviceWorker.getRegistrations)