Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/f66ba8193b2f2d7670c0538a400920d128f760b8?style=split&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
5 additions and
0 deletions
src/board/UBBoardController.cpp
@ -1693,8 +1693,13 @@ UBGraphicsAudioItem* UBBoardController::addAudio(const QUrl& pSourceUrl, bool st
QUuid uuid = QUuid : : createUuid ( ) ;
QUuid uuid = QUuid : : createUuid ( ) ;
QUrl concreteUrl = pSourceUrl ;
QUrl concreteUrl = pSourceUrl ;
# ifdef Q_WS_X11
concreteUrl = QUrl : : fromLocalFile ( mActiveDocument - > persistencePath ( ) + " / " + UBPersistenceManager : : persistenceManager ( )
concreteUrl = QUrl : : fromLocalFile ( mActiveDocument - > persistencePath ( ) + " / " + UBPersistenceManager : : persistenceManager ( )
- > addAudioFileToDocument ( mActiveDocument , pSourceUrl . toLocalFile ( ) , uuid ) ) ;
- > addAudioFileToDocument ( mActiveDocument , pSourceUrl . toLocalFile ( ) , uuid ) ) ;
# else
concreteUrl = QUrl : : fromLocalFile ( UBPersistenceManager : : persistenceManager ( )
- > addAudioFileToDocument ( mActiveDocument , pSourceUrl . toLocalFile ( ) , uuid ) ) ;
# endif
UBGraphicsAudioItem * vi = mActiveScene - > addAudio ( concreteUrl , startPlay , pos ) ;
UBGraphicsAudioItem * vi = mActiveScene - > addAudio ( concreteUrl , startPlay , pos ) ;
mActiveDocument - > setMetaData ( UBSettings : : documentUpdatedAt , UBStringUtils : : toUtcIsoDateTime ( QDateTime : : currentDateTime ( ) ) ) ;
mActiveDocument - > setMetaData ( UBSettings : : documentUpdatedAt , UBStringUtils : : toUtcIsoDateTime ( QDateTime : : currentDateTime ( ) ) ) ;