mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-02-03 00:39:39 +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
|
|
@ -16,6 +16,11 @@ export default function ({ $axios, store, $config }) {
|
|||
config.url = `/dev${config.url}`
|
||||
console.log('Making request to ' + config.url)
|
||||
}
|
||||
|
||||
console.log($config)
|
||||
if ($config.routerBasePath) {
|
||||
config.url = `${$config.routerBasePath}${config.url}`
|
||||
}
|
||||
})
|
||||
|
||||
$axios.onError(error => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue