Browse Source

move imasugu out

dev
xmcp 6 years ago
parent
commit
ac35adc772
  1. 4
      .gitmodules
  2. 9
      src/App.js
  3. 1
      src/imasugu

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

9
src/App.js

@ -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,

1
src/imasugu

@ -1 +0,0 @@
Subproject commit 2771c35e992bf7bcd78cfcb386d1afb889f54892
Loading…
Cancel
Save