Your ROOT_URL in app.ini is https://git.ondrovo.com/ but you are visiting http://159.69.29.240:49153/MightyPork/sigmar/commit/49da1de933b0b4b6cc5be3bcee8cacc18b954b69?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
5 additions and
5 deletions
script.js
@ -742,8 +742,9 @@ class SettingsStorage {
version : 1 ,
version : 1 ,
log : 'info' ,
log : 'info' ,
allowTemplateAugmenting : false ,
allowTemplateAugmenting : false ,
retryTemplate : 30 ,
retryTemplate : 120 ,
attemptTemplates : 50 ,
attemptTemplates : 20 ,
difficulty : 35 ,
svgEffects : false ,
svgEffects : false ,
dimBlocked : true ,
dimBlocked : true ,
logSolution : false ,
logSolution : false ,
@ -1200,8 +1201,7 @@ class Game {
if ( neigh . freeSequence >= 3 ) {
if ( neigh . freeSequence >= 3 ) {
candidates . push ( {
candidates . push ( {
n ,
n ,
cw : neigh . centerWeight ,
cw : neigh . centerWeight
neighs : neigh . neighbours ,
} ) ;
} ) ;
}
}
}
}
@ -1214,7 +1214,7 @@ class Game {
let top = [ ] ;
let top = [ ] ;
let topw = candidates [ 0 ] . cw ;
let topw = candidates [ 0 ] . cw ;
for ( let cand of candidates ) {
for ( let cand of candidates ) {
if ( cand . cw <= topw + 18 ) {
if ( cand . cw <= topw + this . cfg . difficulty ) { // TODO this could vary by template
top . push ( cand ) ;
top . push ( cand ) ;
}
}
}
}