automatic main page fix, see #10
This commit is contained in:
parent
5eb0875b56
commit
e06f3c770b
|
@ -1409,8 +1409,9 @@ async function initialise () {
|
|||
if ( await fs.exists( metadata )) {
|
||||
preProcessed = true
|
||||
try {
|
||||
mainPage.urlKey = await fs.readFile( osPath.join( srcPath, 'mainpage' ))
|
||||
mainPage.urlKey = 'A' + ( await fs.readFile( osPath.join( srcPath, 'mainpage' ))).toString()
|
||||
} catch ( err ) {
|
||||
warning( 'mainpage error', err )
|
||||
}
|
||||
await openMetadata( metadata )
|
||||
return loadMimeTypes()
|
||||
|
|
Loading…
Reference in New Issue
Block a user