Update comic url to use v2.

This should be replaced with json and the url shouldl be built in the client side.
This commit is contained in:
Luis Ángel San Martín 2018-04-25 22:17:51 +02:00
parent 3cb6e2cd85
commit 701817d76b

View File

@ -34,7 +34,7 @@ void FolderInfoControllerV2::serviceComics(const int &library, const qulonglong
for(QList<LibraryItem *>::const_iterator itr = folderComics.constBegin();itr!=folderComics.constEnd();itr++)
{
currentComic = (ComicDB *)(*itr);
response.write(QString("/library/%1/comic/%2:%3:%4:%5:%6\r\n")
response.write(QString("/v2/library/%1/comic/%2:%3:%4:%5:%6\r\n")
.arg(library)
.arg(currentComic->id)
.arg(currentComic->getFileName())