Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/fc87cb062a62ac7d2627df731ecd7580bb23ff16?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
4 additions and
1 deletions
src/adaptors/UBSvgSubsetAdaptor.cpp
src/board/UBBoardController.cpp
@ -1902,6 +1902,9 @@ void UBSvgSubsetAdaptor::UBSvgSubsetWriter::svgItemToLinkedSvg(UBGraphicsSvgItem
mXmlWriter . writeStartElement ( " image " ) ;
mXmlWriter . writeStartElement ( " image " ) ;
QString fileName = UBPersistenceManager : : imageDirectory + " / " + svgItem - > uuid ( ) . toString ( ) + " .svg " ;
mXmlWriter . writeAttribute ( nsXLink , " href " , fileName ) ;
mXmlWriter . writeAttribute ( nsXLink , " href " , fileName ) ;
graphicsItemToSvg ( svgItem ) ;
graphicsItemToSvg ( svgItem ) ;
@ -1154,7 +1154,7 @@ UBItem *UBBoardController::downloadFinished(bool pSuccess, QUrl sourceUrl, QUrl
if ( ! file . open ( QIODevice : : WriteOnly ) )
if ( ! file . open ( QIODevice : : WriteOnly ) )
{
{
qWarning ( ) < < " cannot open file for writing embeded svg content " < < path ;
qWarning ( ) < < " cannot open file for writing embeded svg content " < < path ;
return ;
return NULL ;
}
}
file . write ( svgItem - > fileData ( ) ) ;
file . write ( svgItem - > fileData ( ) ) ;