Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/ebef0f14d8732a8ca1122e2004afdbc0628c4736
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
3 additions and
1 deletions
src/board/UBLibraryController.cpp
@ -24,6 +24,7 @@
# include "UBBoardController.h"
# include "gui/UBThumbnailWidget.h"
# include "../core/UBSettings.h"
static quint32 magicNumber = 0xACDCAFE0 ;
static QString favoriteVirtualPath = " $favorite$ " ;
@ -32,7 +33,7 @@ UBLibraryController::UBLibraryController(QWidget *pParentWidget, UBBoardControll
QObject ( pParentWidget ) ,
mParentWidget ( pParentWidget ) ,
mBoardController ( pBoardController ) ,
mLastItemOffsetIndex ( 0 )
mLastItemOffsetIndex ( 0 )
{
readFavoriteList ( ) ;
@ -289,6 +290,7 @@ QList<UBLibElement*> UBLibraryController::addVirtualElementsForItemPath(const QS
QUrl path = QUrl : : fromLocalFile ( UBSettings : : settings ( ) - > uniboardImageLibraryDirectory ( ) ) ;
userPath ( path ) ;
content < < listElementsInPath ( path . toLocalFile ( ) ) ;
content < < listElementsInPath ( UBSettings : : settings ( ) - > uniboardDefaultUserImageLibraryDirectory ( ) ) ;
}
return content ;