Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/ass/commit/4049964d2305dd613276b8215daa7863ce0b5cc7
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
15 additions and
15 deletions
@ -33,6 +33,21 @@ const oldConfig = {
saveAsOriginal : false , // Prone to conflicts, which ass doesn't handle
} ;
function getConfirmSchema ( description ) {
return {
properties : {
confirm : {
description ,
type : 'string' ,
pattern : /^[y|n]/gim ,
message : 'Must respond with either \'y\' or \'n\'' ,
required : true ,
before : ( value ) => value . toLowerCase ( ) . startsWith ( 'y' )
}
}
} ;
}
// If directly called on the command line, run setup script
function doSetup ( ) {
const path = ( ... paths ) => require ( 'path' ) . join ( _ _dirname , ... paths ) ;
@ -230,21 +245,6 @@ function doSetup() {
. catch ( ( err ) => log . blank ( ) . error ( err ) ) ;
}
function getConfirmSchema ( description ) {
return {
properties : {
confirm : {
description ,
type : 'string' ,
pattern : /^[y|n]/gim ,
message : 'Must respond with either \'y\' or \'n\'' ,
required : true ,
before : ( value ) => value . toLowerCase ( ) . startsWith ( 'y' )
}
}
} ;
}
module . exports = {
doSetup ,
config