|
@@ -2,7 +2,6 @@
|
2
|
2
|
|
3
|
3
|
import { NativeModules } from 'react-native';
|
4
|
4
|
|
5
|
|
-import { getAppProp } from '../base/app';
|
6
|
5
|
import { toState } from '../base/redux';
|
7
|
6
|
import { getServerURL } from '../base/settings';
|
8
|
7
|
|
|
@@ -17,7 +16,7 @@ import { getServerURL } from '../base/settings';
|
17
|
16
|
export function getDefaultURL(stateful: Function | Object) {
|
18
|
17
|
const state = toState(stateful);
|
19
|
18
|
|
20
|
|
- return getAppProp(state, 'defaultURL') || getServerURL(state);
|
|
19
|
+ return getServerURL(state);
|
21
|
20
|
}
|
22
|
21
|
|
23
|
22
|
/**
|