mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-10 02:08:21 +00:00
Add proper support for channel handles
This commit is contained in:
parent
323407d4d3
commit
961d233dd5
@ -146,7 +146,7 @@ export default {
|
||||
},
|
||||
async fetchChannel() {
|
||||
const url = this.$route.path.includes("@")
|
||||
? this.apiUrl() + "/c/" + this.$route.params.channelId
|
||||
? this.apiUrl() + "/@/" + this.$route.params.channelId
|
||||
: this.apiUrl() + "/" + this.$route.params.path + "/" + this.$route.params.channelId;
|
||||
return await this.fetchJson(url);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user