Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/173fe34355cd3cdb4607faeb1587a53663517f2c?style=unified&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
5 additions and
2 deletions
src/core/UBApplication.cpp
@ -347,7 +347,7 @@ int UBApplication::exec(const QString& pFileToImport)
applicationController - > initScreenLayout ( bUseMultiScreen ) ;
boardController - > setupLayout ( ) ;
if ( pFileToImport . length ( ) > 0 )
if ( pFileToImport . length ( ) > 0 & & ! pFileToImport . endsWith ( " ubx " ) )
UBApplication : : applicationController - > importFile ( pFileToImport ) ;
if ( UBSettings : : settings ( ) - > appStartMode - > get ( ) . toInt ( ) )
@ -575,7 +575,10 @@ bool UBApplication::eventFilter(QObject *obj, QEvent *event)
UBPlatformUtils : : setFrontProcess ( ) ;
applicationController - > importFile ( fileToOpenEvent - > file ( ) ) ;
if ( ! fileToOpenEvent - > file ( ) . endsWith ( " ubx " ) )
applicationController - > importFile ( fileToOpenEvent - > file ( ) ) ;
else
applicationController - > showMessage ( tr ( " Cannot open your UBX file directly. Please import it in Documents mode instead " ) , false ) ;
}
if ( event - > type ( ) = = QEvent : : TabletLeaveProximity )