Reuse service address

This commit is contained in:
Paul Frazee 2022-11-07 11:45:26 -06:00
parent ff9161d8e7
commit b4097e25d6
3 changed files with 6 additions and 6 deletions

View file

@ -4,8 +4,8 @@ import {RootStoreModel} from './models/root-store'
import * as libapi from './lib/api'
import * as storage from './lib/storage'
export const DEFAULT_SERVICE = 'http://localhost:2583'
const ROOT_STATE_STORAGE_KEY = 'root'
const DEFAULT_SERVICE = 'http://localhost:2583'
const STATE_FETCH_INTERVAL = 15e3
export async function setupState() {