Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/9c1b273987b05a6b85b27b5223b931377fa658e0?style=unified&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
8 additions and
5 deletions
src/core/UBApplicationController.cpp
@ -338,25 +338,29 @@ void UBApplicationController::showBoard()
void UBApplicationController : : showInternet ( )
{
if ( UBApplication : : boardController ) {
if ( UBApplication : : boardController )
{
UBApplication : : boardController - > persistCurrentScene ( ) ;
UBApplication : : boardController - > hide ( ) ;
}
if ( UBSettings : : settings ( ) - > webUseExternalBrowser - > get ( ) . toBool ( ) ) {
if ( UBSettings : : settings ( ) - > webUseExternalBrowser - > get ( ) . toBool ( ) )
{
showDesktop ( true ) ;
}
else {
else
{
mMainWindow - > boardToolBar - > hide ( ) ;
mMainWindow - > documentToolBar - > hide ( ) ;
mMainWindow - > tutorialToolBar - > hide ( ) ;
mMainWindow - > webToolBar - > show ( ) ;
mMainMode = Internet ;
adaptToolBar ( ) ;
mMainWindow - > show ( ) ;
mUninoteController - > hideWindow ( ) ;
mMainMode = Internet ;
emit mainModeChanged ( Internet ) ;
}
UBApplication : : webController - > show ( UBWebController : : WebBrowser ) ;
@ -371,7 +375,6 @@ void UBApplicationController::showDocument()
mMainWindow - > tutorialToolBar - > hide ( ) ;
mMainWindow - > documentToolBar - > show ( ) ;
mMainMode = Document ;
adaptToolBar ( ) ;