From f9c73764dcdb45da5fa759a3a9d8739d182a8f4b Mon Sep 17 00:00:00 2001 From: odkhang Date: Thu, 26 Sep 2024 07:48:47 +0700 Subject: [PATCH] Fix not found 404 when route to session from speaker view (#238) * use the same ico with eventyay-talk * update base path for webapp using basePath from config file * add base_path for route to session from speaker profile --------- Co-authored-by: lcduong --- webapp/src/views/schedule/speakers/item.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/src/views/schedule/speakers/item.vue b/webapp/src/views/schedule/speakers/item.vue index 7fab941a..0227abc1 100644 --- a/webapp/src/views/schedule/speakers/item.vue +++ b/webapp/src/views/schedule/speakers/item.vue @@ -65,7 +65,8 @@ export default { mounted() {}, methods: { generateSessionLinkUrl(sessionData) { - return `/schedule/talks/${sessionData.session.id}` + const publicPath = process.env.BASE_URL || '/video/'; + return `${publicPath}schedule/talks/${sessionData.session.id}`; } } }