diff --git a/src/infraestructure/hooks/useRemoteConfig.ts b/src/infraestructure/hooks/useRemoteConfig.ts index 42566f5..b349ee6 100644 --- a/src/infraestructure/hooks/useRemoteConfig.ts +++ b/src/infraestructure/hooks/useRemoteConfig.ts @@ -14,14 +14,14 @@ const useRemoteConfig = () => { minimumFetchIntervalMillis: ONE_HOUR, }); - // TODO: Add default values for remote config await remoteConfig().setDefaults({ - BASE_URL: '', - HEADER_IMAGE_URL: '', - USER: '', - PASS: '', - CHANGE_PAGE_INTERVAL: 0, // in miliseconds - UPDATE_BUSES_LIST_INTERVAL: 0, // in miliseconds + BASE_URL: 'https://transporte.hz.kursor.cl', + HEADER_IMAGE_URL: + 'https://cdn-icons-png.flaticon.com/512/8371/8371047.png', + USER: 'usuario1', + PASS: 'usuario1', + CHANGE_PAGE_INTERVAL: 20000, // in miliseconds + UPDATE_BUSES_LIST_INTERVAL: 600000, // in miliseconds }); await remoteConfig().fetchAndActivate();