mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-19 08:07:48 +01:00
d51e5ab65d
- fix: Translation fixes - fix: Various fixes - feat: PB translations, configuration changes - fix: Bugfixes GitOrigin-RevId: 55f8b148c42a296162fc707c36a5146ca0073b4b
17 lines
388 B
JavaScript
Executable File
17 lines
388 B
JavaScript
Executable File
import HttpClient from '~/nexus/cognitron/web/client/index'
|
|
import SummaApi from '~/nexus/cognitron/web/client/api'
|
|
|
|
export default ({ $config }, inject) => {
|
|
const summaApi = new SummaApi(
|
|
new HttpClient({
|
|
baseUrl: $config.searchApi,
|
|
headers: () => {
|
|
return {
|
|
Accept: 'application/json'
|
|
}
|
|
}
|
|
})
|
|
)
|
|
inject('search_api', summaApi)
|
|
}
|