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:
parent
441e453ae5
commit
94148c9028
47 changed files with 1184 additions and 889 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue