mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-06-07 19:22:43 +02:00
Add: build client as server instead of static
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user