fix event api path

This commit is contained in:
lesion
2023-01-13 22:17:43 +01:00
parent 749c656784
commit e3a9949865
8 changed files with 317 additions and 317 deletions

View File

@@ -185,7 +185,7 @@ export default {
},
async asyncData ({ $axios, params, error }) {
try {
const event = await $axios.$get(`/event/${params.slug}`)
const event = await $axios.$get(`/event/detail/${params.slug}`)
return { event }
} catch (e) {
error({ statusCode: 404, message: 'Event not found' })