Forced /iris/ for use in Tornado
This commit is contained in:
@ -60,7 +60,7 @@ class LibraryAlbums extends React.Component{
|
||||
]
|
||||
return (
|
||||
<section className="list-wrapper">
|
||||
<List rows={this.props.albums} columns={columns} link_prefix="/album/" />
|
||||
<List rows={this.props.albums} columns={columns} link_prefix={global.baseURL+"album/"} />
|
||||
</section>
|
||||
)
|
||||
}else if( this.props.view == 'thumbnails' ){
|
||||
|
||||
@ -48,7 +48,7 @@ class LibraryArtists extends React.Component{
|
||||
]
|
||||
return (
|
||||
<section className="list-wrapper">
|
||||
<List rows={this.props.artists} columns={columns} link_prefix="/artist/" show_source_icon={true} />
|
||||
<List rows={this.props.artists} columns={columns} link_prefix={global.baseURL+"artist/"} show_source_icon={true} />
|
||||
</section>
|
||||
)
|
||||
}else{
|
||||
|
||||
@ -18,17 +18,17 @@ export default class LibraryLocal extends React.Component{
|
||||
var grid_items = [
|
||||
{
|
||||
name: 'Artists',
|
||||
link: '/library/local/artists',
|
||||
link: global.baseURL+'library/local/artists',
|
||||
icons: ['/assets/backgrounds/category-artists.jpg']
|
||||
},
|
||||
{
|
||||
name: 'Albums',
|
||||
link: '/library/local/albums',
|
||||
link: global.baseURL+'library/local/albums',
|
||||
icons: ['/assets/backgrounds/category-albums.jpg']
|
||||
},
|
||||
{
|
||||
name: 'Folders',
|
||||
link: '/library/local/directory/local:directory',
|
||||
link: global.baseURL+'library/local/directory/local:directory',
|
||||
icons: ['/assets/backgrounds/category-folders.jpg']
|
||||
}
|
||||
]
|
||||
|
||||
@ -39,7 +39,7 @@ class LibraryLocalAlbums extends React.Component{
|
||||
<div className="view library-local-view">
|
||||
<Header icon="music" title="Local albums" />
|
||||
<div>
|
||||
<List columns={[{ name: 'name', width: '100'}]} rows={this.props.albums} link_prefix="/album/" />
|
||||
<List columns={[{ name: 'name', width: '100'}]} rows={this.props.albums} link_prefix={global.baseURL+"album/"} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
@ -39,7 +39,7 @@ class LibraryLocalArtists extends React.Component{
|
||||
<div className="view library-local-view">
|
||||
<Header icon="music" title="Local artists" />
|
||||
<section className="list-wrapper">
|
||||
<List columns={[{ name: 'name', width: '100'}]} rows={this.props.artists} link_prefix="/artist/" />
|
||||
<List columns={[{ name: 'name', width: '100'}]} rows={this.props.artists} link_prefix={global.baseURL+"artist/"} />
|
||||
</section>
|
||||
</div>
|
||||
);
|
||||
|
||||
@ -80,7 +80,7 @@ class LibraryLocalDirectory extends React.Component{
|
||||
<Header icon="music" title="Local files" actions={actions} />
|
||||
<section className="list-wrapper">
|
||||
|
||||
<List columns={[{ name: 'name', width: '100'}]} rows={items.folders} link_prefix="/library/local/directory/" />
|
||||
<List columns={[{ name: 'name', width: '100'}]} rows={items.folders} link_prefix={global.baseURL+"library/local/directory/"} />
|
||||
<TrackList tracks={items.tracks} noheader />
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@ -65,7 +65,7 @@ class LibraryPlaylists extends React.Component{
|
||||
]
|
||||
return (
|
||||
<section className="list-wrapper">
|
||||
<List rows={playlists} columns={columns} link_prefix="/playlist/" show_source_icon={true} />
|
||||
<List rows={playlists} columns={columns} link_prefix={global.baseURL+"playlist/"} show_source_icon={true} />
|
||||
</section>
|
||||
)
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user