base link exported
This commit is contained in:
parent
a62258819f
commit
4735899c39
2 changed files with 5 additions and 3 deletions
|
|
@ -8,6 +8,9 @@ import router from './router'
|
|||
|
||||
const app = createApp(App)
|
||||
export const BASE_URL = 'https://api.nqws.ru/api/v2'
|
||||
// export const BASE_URL = 'http://localhost:9090/api/v2'
|
||||
|
||||
export const BASE_MANDARAKE_LINK = 'https://order.mandarake.co.jp/order/listPage/list?soldOut=1&keyword='
|
||||
|
||||
app.use(createPinia())
|
||||
app.use(router)
|
||||
|
|
|
|||
|
|
@ -2,11 +2,10 @@
|
|||
import router from '@/router/index.js'
|
||||
import { computed, ref } from 'vue'
|
||||
import { useMerchApi } from '@/api/merch.js'
|
||||
import { BASE_MANDARAKE_LINK } from '@/main.js'
|
||||
|
||||
const { addMerch } = useMerchApi()
|
||||
|
||||
const mandarakeLink = 'https://order.mandarake.co.jp/order/listPage/list?soldOut=1&keyword='
|
||||
|
||||
const name = ref('')
|
||||
|
||||
// surugaya block
|
||||
|
|
@ -17,7 +16,7 @@ const checkAutoComplete = ref(true)
|
|||
const customLink = ref('')
|
||||
|
||||
const mandarakeAutocomplete = computed(() => {
|
||||
return `${mandarakeLink}${name.value}`
|
||||
return `${BASE_MANDARAKE_LINK}${name.value}`
|
||||
})
|
||||
|
||||
const mandarakeResultLink = computed({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue