Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/4cbdf7726388d9d0879ffb35ff3745d5c4d0ec29?style=unified&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
2 additions and
2 deletions
src/domain/UBGraphicsWidgetItem.cpp
@ -38,8 +38,6 @@
# include "board/UBBoardController.h"
const QString freezedWidgetDefaultContentFilePath = " ./etc/freezedWidgetWrapper.html " ;
QStringList UBGraphicsWidgetItem : : sInlineJavaScripts ;
bool UBGraphicsWidgetItem : : sInlineJavaScriptLoaded = false ;
@ -1139,6 +1137,8 @@ QString UBGraphicsW3CWidgetItem::freezedWidgetPage()
static QString defaultcontent ;
if ( defaultcontent . isNull ( ) ) {
QString etcPath = UBPlatformUtils : : applicationResourcesDirectory ( ) + " /etc/ " ;
QString freezedWidgetDefaultContentFilePath = etcPath + " freezedWidgetWrapper.html " ;
QFile wrapperFile ( freezedWidgetDefaultContentFilePath ) ;
if ( ! wrapperFile . open ( QIODevice : : ReadOnly | QIODevice : : Text ) ) {
qDebug ( ) < < " can't open wrapper file " + freezedWidgetDefaultContentFilePath ;