Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/37e5759727727e78770fb901e3b72ecdc59d9db0
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
3 additions and
2 deletions
src/domain/UBW3CWidget.cpp
@ -40,7 +40,6 @@ UBW3CWidget::UBW3CWidget(const QUrl& pWidgetUrl, QWidget *parent)
{
QString path = pWidgetUrl . toLocalFile ( ) ;
QDir potentialDir ( path ) ;
if ( ! path . endsWith ( " .wgt " ) & & ! path . endsWith ( " .wgt/ " ) & & ! potentialDir . exists ( ) )
@ -58,7 +57,7 @@ UBW3CWidget::UBW3CWidget(const QUrl& pWidgetUrl, QWidget *parent)
int width = 300 ;
int height = 150 ;
QFile configFile ( path + " / config.xml" ) ;
QFile configFile ( path + " config.xml " ) ;
configFile . open ( QFile : : ReadOnly ) ;
QDomDocument doc ;
@ -202,6 +201,8 @@ UBW3CWidget::UBW3CWidget(const QUrl& pWidgetUrl, QWidget *parent)
connect ( page ( ) - > mainFrame ( ) , SIGNAL ( javaScriptWindowObjectCleared ( ) ) , this , SLOT ( javaScriptWindowObjectCleared ( ) ) ) ;
connect ( UBApplication : : boardController , SIGNAL ( activeSceneChanged ( ) ) , this , SLOT ( javaScriptWindowObjectCleared ( ) ) ) ;
QWebView : : load ( mMainHtmlUrl ) ;
setFixedSize ( QSize ( width , height ) ) ;
mNominalSize = QSize ( width , height ) ;