mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-02-03 08:49:40 +00:00
Add: build client as server instead of static
This commit is contained in:
parent
883cb46481
commit
31dc10ba51
8 changed files with 715 additions and 43 deletions
10
client/plugins/favicon.js
Normal file
10
client/plugins/favicon.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
export default function ({ $config }) {
|
||||
const faviconPath = $config.favicon || '/favicon.ico'
|
||||
|
||||
const link = document.createElement('link')
|
||||
link.rel = 'icon'
|
||||
link.type = 'image/x-icon'
|
||||
link.href = `${$config.routerBasePath || ''}${faviconPath}`
|
||||
|
||||
document.head.appendChild(link)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue