mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-01-09 14:26:59 +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() {
|
async fetchChannel() {
|
||||||
const url = this.$route.path.includes("@")
|
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;
|
: this.apiUrl() + "/" + this.$route.params.path + "/" + this.$route.params.channelId;
|
||||||
return await this.fetchJson(url);
|
return await this.fetchJson(url);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user