forked from newthuhole/hole_thu_frontend
move imasugu out
This commit is contained in:
4
.gitmodules
vendored
4
.gitmodules
vendored
@@ -1,7 +1,3 @@
|
||||
[submodule "src/imasugu"]
|
||||
path = src/imasugu
|
||||
url = https://github.com/xmcp/imasugu
|
||||
|
||||
[submodule "src/react-lazyload"]
|
||||
path = src/react-lazyload
|
||||
url = https://github.com/xmcp/react-lazyload
|
||||
|
||||
@@ -6,8 +6,6 @@ import {PressureHelper} from './PressureHelper';
|
||||
import {TokenCtx,ISOP_APPKEY} from './UserAction';
|
||||
import {load_config,bgimg_style} from './Config';
|
||||
|
||||
import ImasuguApp from './imasugu/src/App';
|
||||
|
||||
function DeprecatedAlert(props) {
|
||||
if(document.domain==='hole.xmcp.ml')
|
||||
return (
|
||||
@@ -68,13 +66,6 @@ class App extends Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
if(window.location.search.match(/[?&]imasugu($|&)/)) {
|
||||
document.body.style.backgroundColor='white';
|
||||
return (
|
||||
<ImasuguApp api_base={`proxy_building?appKey=${ISOP_APPKEY}&buildingName={building}`} />
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<TokenCtx.Provider value={{
|
||||
value: this.state.token,
|
||||
|
||||
Submodule src/imasugu deleted from 2771c35e99
Reference in New Issue
Block a user