Skip to content

Commit af35e05

Browse files
committed
Copy leancloud initialization code
1 parent 94f827b commit af35e05

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/App.js

+8
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ import './App.css';
55
import TodoInput from './TodoInput';
66
import TodoItem from './TodoItem';
77
import * as localStore from './localStore';
8+
import AV from 'leancloud-storage';
9+
10+
let APP_ID = 'WiamNEuR1RvvIikVyFhpAbUB-gzGzoHsz';
11+
let APP_KEY = 'ewLqQgvGfn4Hcjs2xxfGxE4L';
12+
AV.init({
13+
appId: APP_ID,
14+
appKey: APP_KEY
15+
});
816

917
class App extends Component {
1018
constructor(props) {

0 commit comments

Comments
 (0)