Skip to content

Commit

Permalink
Fix not found 404 when route to session from speaker view (#238)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
odkhang and lcduong authored Sep 26, 2024
1 parent d86e2e1 commit f9c7376
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webapp/src/views/schedule/speakers/item.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ export default {
mounted() {},
methods: {
generateSessionLinkUrl(sessionData) {
return `/schedule/talks/${sessionData.session.id}`
const publicPath = process.env.BASE_URL || '/video/';

Check failure on line 68 in webapp/src/views/schedule/speakers/item.vue

View workflow job for this annotation

GitHub Actions / build

Extra semicolon
return `${publicPath}schedule/talks/${sessionData.session.id}`;

Check failure on line 69 in webapp/src/views/schedule/speakers/item.vue

View workflow job for this annotation

GitHub Actions / build

Extra semicolon
}
}
}
Expand Down

0 comments on commit f9c7376

Please sign in to comment.