small cleanup items
This commit is contained in:
parent
ab3d5f9240
commit
1cfc63ac5b
6 changed files with 6 additions and 6 deletions
|
@ -43,7 +43,7 @@ module.exports = {
|
||||||
axios
|
axios
|
||||||
.post('http://localhost:5279/lbryapi', {
|
.post('http://localhost:5279/lbryapi', {
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: { uri, timeout: 30 },
|
params: { uri, timeout: 20 },
|
||||||
})
|
})
|
||||||
.then(({ data }) => {
|
.then(({ data }) => {
|
||||||
// check to make sure the daemon didn't just time out
|
// check to make sure the daemon didn't just time out
|
||||||
|
@ -54,7 +54,7 @@ module.exports = {
|
||||||
reject(data.result.error);
|
reject(data.result.error);
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
note: put in a check to make sure we do not resolve until the download is actually complete (response.data.completed === true)
|
note: put in a check to make sure we do not resolve until the download is actually complete (response.data.completed === true)?
|
||||||
*/
|
*/
|
||||||
resolve(data.result);
|
resolve(data.result);
|
||||||
})
|
})
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 2.6 KiB |
BIN
public/assets/img/content-freedom-64px.png
Normal file
BIN
public/assets/img/content-freedom-64px.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1 KiB |
|
@ -1,8 +1,8 @@
|
||||||
<div>
|
<div>
|
||||||
<h2>Contribute
|
<h2>Contribute
|
||||||
<a href="https://github.com/lbryio/spee.ch" target="_blank"><img id="github-logo" class="img-right" src="/assets/img/GitHub-Mark-64px.png"/></a>
|
<a href="https://github.com/lbryio/spee.ch" target="_blank"><img id="github-logo" class="img-right" src="/assets/img/GitHub-Mark-32px.png"/></a>
|
||||||
</h2>
|
</h2>
|
||||||
<p><strong>Spee.ch is an open source project. We would love for you to contribute to the existing site, or fork it and make your own!</strong></p>
|
<p><strong>Spee.ch is an open source project. Please contribute to the existing site, or fork it and make your own!</strong></p>
|
||||||
<p>If you have an idea for your own spee.ch-like site on top of LBRY, fork our <a href="https://github.com/lbryio/spee.ch">github repo</a> and go to town!</p>
|
<p>If you have an idea for your own spee.ch-like site on top of LBRY, fork our <a href="https://github.com/lbryio/spee.ch">github repo</a> and go to town!</p>
|
||||||
<p>If you want to improve spee.ch, join our <a href="https://lbry.slack.com">slack channel</a> or solve one of our <a href="https://github.com/lbryio/spee.ch/issues">github issues</a>.</p>
|
<p>If you want to improve spee.ch, join our <a href="https://lbry.slack.com">slack channel</a> or solve one of our <a href="https://github.com/lbryio/spee.ch/issues">github issues</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div class="top-bar">
|
<div class="top-bar">
|
||||||
<img id="logo" src="/speech/900227fe5c778eb2a6424d923af806c669ea3a3c"/>
|
<img id="logo" src="/assets/img/content-freedom-64px.png"/>
|
||||||
<h1 id="title"><a href="/">Spee.ch</a></h1>
|
<h1 id="title"><a href="/">Spee.ch</a></h1>
|
||||||
|
|
||||||
</div>
|
</div>
|
|
@ -6,6 +6,6 @@
|
||||||
Your browser does not support the <code>video</code> element.
|
Your browser does not support the <code>video</code> element.
|
||||||
</video>
|
</video>
|
||||||
{{else}}
|
{{else}}
|
||||||
<img class="show-asset-lite" src="/api/streamFile/{{fileInfo.fileName}}" />
|
<img class="show-asset-lite" src="/api/streamFile/{{fileInfo.fileName}}" alt="{{fileInfo.fileName}}"/>
|
||||||
{{/ifConditional}}
|
{{/ifConditional}}
|
||||||
</div>
|
</div>
|
Loading…
Reference in a new issue