fix: fetch blacklist for web

This commit is contained in:
Sean Yesmunt 2019-02-28 08:50:00 +09:00
parent ad0f968a51
commit 2cf4477a06
2 changed files with 4 additions and 5 deletions

View file

@ -63,7 +63,6 @@ ipcRenderer.on('navigate-forward', () => {
// @if TARGET='web'
Lbry.setDaemonConnectionString('/api/proxy');
console.log('set string');
// @endif
// We need to override Lbryio for getting/setting the authToken
@ -235,9 +234,10 @@ const init = () => {
app.store.dispatch(doUpdateIsNightAsync());
app.store.dispatch(doDownloadLanguages());
app.store.dispatch(doBlackListedOutpointsSubscribe());
// @endif
app.store.dispatch(doBlackListedOutpointsSubscribe());
function onDaemonReady() {
window.sessionStorage.setItem('loaded', 'y'); // once we've made it here once per session, we don't need to show splash again
app.store.dispatch(doDaemonReady());

View file

@ -5764,11 +5764,10 @@ lazy-val@^1.0.3:
tar-stream "^1.6.2"
zstd-codec "^0.1.1"
lbry-redux@lbryio/lbry-redux#00755bef2eaef739a44dc0ad66bd5dece50497ac:
lbry-redux@lbryio/lbry-redux#406e1970b9d5594faf0407100c9bbed45d904cdf:
version "0.0.1"
resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/00755bef2eaef739a44dc0ad66bd5dece50497ac"
resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/406e1970b9d5594faf0407100c9bbed45d904cdf"
dependencies:
preprocess-loader "^0.3.0"
proxy-polyfill "0.1.6"
reselect "^3.0.0"
uuid "^3.3.2"