Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/homepage/commit/3882dd4f5afcf0d39bddff34d7d83cfc2972752c?style=split&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
8 additions and
0 deletions
@ -15,6 +15,10 @@ export async function servicesFromConfig() {
const fileContents = await fs . readFile ( servicesYaml , "utf8" ) ;
const fileContents = await fs . readFile ( servicesYaml , "utf8" ) ;
const services = yaml . load ( fileContents ) ;
const services = yaml . load ( fileContents ) ;
if ( ! services ) {
return [ ] ;
}
// map easy to write YAML objects into easy to consume JS arrays
// map easy to write YAML objects into easy to consume JS arrays
const servicesArray = services . map ( ( servicesGroup ) => ( {
const servicesArray = services . map ( ( servicesGroup ) => ( {
name : Object . keys ( servicesGroup ) [ 0 ] ,
name : Object . keys ( servicesGroup ) [ 0 ] ,
@ -34,6 +38,10 @@ export async function servicesFromDocker() {
const dockerFileContents = await fs . readFile ( dockerYaml , "utf8" ) ;
const dockerFileContents = await fs . readFile ( dockerYaml , "utf8" ) ;
const servers = yaml . load ( dockerFileContents ) ;
const servers = yaml . load ( dockerFileContents ) ;
if ( ! servers ) {
return [ ] ;
}
const serviceServers = await Promise . all (
const serviceServers = await Promise . all (
Object . keys ( servers ) . map ( async ( serverName ) => {
Object . keys ( servers ) . map ( async ( serverName ) => {
const docker = new Docker ( getDockerArguments ( serverName ) ) ;
const docker = new Docker ( getDockerArguments ( serverName ) ) ;