mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 00:21:55 +00:00
Re-enable workers
This commit is contained in:
parent
f914575e09
commit
d7b7ceb122
@ -75,8 +75,8 @@ func main() {
|
|||||||
defer goscrobble.CloseRedisConn()
|
defer goscrobble.CloseRedisConn()
|
||||||
|
|
||||||
// Start background workers
|
// Start background workers
|
||||||
// go goscrobble.StartBackgroundWorkers()
|
go goscrobble.StartBackgroundWorkers()
|
||||||
// defer goscrobble.EndBackgroundWorkers()
|
defer goscrobble.EndBackgroundWorkers()
|
||||||
|
|
||||||
// Boot up API webserver \o/
|
// Boot up API webserver \o/
|
||||||
goscrobble.HandleRequests(port)
|
goscrobble.HandleRequests(port)
|
||||||
|
@ -74,17 +74,18 @@ const Track = (route) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="pageWrapper">
|
<div className="pageWrapper">
|
||||||
|
<h1 style={{margin: 0}}>
|
||||||
|
{track.name}
|
||||||
|
</h1>
|
||||||
<div className="pageBody">
|
<div className="pageBody">
|
||||||
<div style={{display: `flex`, flexWrap: `wrap`, textAlign: `center`}}>
|
<div style={{display: `flex`, flexWrap: `wrap`, textAlign: `center`}}>
|
||||||
<div style={{width: `300px`, padding: `0 10px 10px 10px`, textAlign: `left`}}>
|
<div style={{width: `300px`, padding: `0 10px 10px 10px`, textAlign: `left`}}>
|
||||||
<h1 style={{margin: 0}}>
|
|
||||||
{track.name}
|
<span style={{fontSize: '14pt'}}>
|
||||||
</h1>
|
|
||||||
<span>
|
|
||||||
{artists}
|
{artists}
|
||||||
</span>
|
</span>
|
||||||
<br/>
|
<br/>
|
||||||
<span>
|
<span style={{fontSize: '12pt'}}>
|
||||||
{albums}
|
{albums}
|
||||||
</span>
|
</span>
|
||||||
<img src={process.env.REACT_APP_API_URL + "/img/" + track.img + "_full.jpg"} alt={track.name} style={{maxWidth: `300px`, maxHeight: `300px`}}/><br/><br/>
|
<img src={process.env.REACT_APP_API_URL + "/img/" + track.img + "_full.jpg"} alt={track.name} style={{maxWidth: `300px`, maxHeight: `300px`}}/><br/><br/>
|
||||||
|
Loading…
Reference in New Issue
Block a user