u
This commit is contained in:
parent
bc5c0a5eb4
commit
32d2bcbf5f
@ -111,7 +111,7 @@ export default {
|
||||
|
||||
make_server_url (route) {
|
||||
if (typeof route === 'string') route = route.replace('\\', '/')
|
||||
else if (typeof route === 'object') {
|
||||
else if (route?.apiWho && route?.apiTodo) {
|
||||
const { apiVersion = 'api', apiWho, apiTodo } = route
|
||||
route = `${apiVersion}/${apiWho}/${apiTodo}`
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user