feat: default cover
This commit is contained in:
parent
19438d6a19
commit
5f8b100f9e
1 changed files with 5 additions and 0 deletions
|
@ -95,6 +95,11 @@ export default class PublicController {
|
||||||
} else if (lastPublished === undefined || lastPublished === null) {
|
} else if (lastPublished === undefined || lastPublished === null) {
|
||||||
return ErrorController.notFoundHandler()(req, res)
|
return ErrorController.notFoundHandler()(req, res)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!Utils.isStrUsable(version, 'cover.location')) {
|
||||||
|
version.cover.location = "https://fva-condorcet.s3.fr-par.scw.cloud/rrQC0FP.png"
|
||||||
|
}
|
||||||
|
|
||||||
// if (lastPublished !== null) {
|
// if (lastPublished !== null) {
|
||||||
// lastPublished = lastPublished
|
// lastPublished = lastPublished
|
||||||
// }
|
// }
|
||||||
|
|
Loading…
Reference in a new issue