mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 10:20:09 +02:00
fix: make successful build if missing favicon (#5290)
This commit is contained in:
parent
33b88ab717
commit
bc6c67720a
2 changed files with 4 additions and 2 deletions
|
@ -60,7 +60,7 @@ function theme(context) {
|
|||
renderOpenSearchTemplate({
|
||||
title,
|
||||
url: url + baseUrl,
|
||||
favicon: normalizeUrl([url, baseUrl, favicon]),
|
||||
favicon: favicon ? normalizeUrl([url, baseUrl, favicon]) : null,
|
||||
}),
|
||||
);
|
||||
} catch (err) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue