1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Add abuse messages management in my account

This commit is contained in:
Chocobozzz 2020-07-27 11:40:30 +02:00 committed by Chocobozzz
parent 441e453ae5
commit 94148c9028
47 changed files with 1184 additions and 889 deletions

View file

@ -36,7 +36,10 @@ function populateAsyncUserVideoChannels (authService: AuthService, channel: { id
}
function getAbsoluteAPIUrl () {
let absoluteAPIUrl = environment.apiUrl
let absoluteAPIUrl = environment.hmr === true
? 'http://localhost:9000'
: environment.apiUrl
if (!absoluteAPIUrl) {
// The API is on the same domain
absoluteAPIUrl = window.location.origin