diff --git a/Sources/VLCHTTPUploaderController.m b/Sources/VLCHTTPUploaderController.m index 79644ecc6ff195395b8687e21d6b4beacb4f0f35..ff5726981ab1b6727569f903178007a0b5e7e1dc 100644 --- a/Sources/VLCHTTPUploaderController.m +++ b/Sources/VLCHTTPUploaderController.m @@ -107,17 +107,11 @@ - (NSString *)httpStatus { if (_httpServer.isRunning) { - if (_httpServer.listeningPort != 80) { - return [NSString stringWithFormat:@"http://%@:%i\nhttp://%@:%i", - [self currentIPAddress], - _httpServer.listeningPort, - [self hostname], - _httpServer.listeningPort]; - } else { - return [NSString stringWithFormat:@"http://%@\nhttp://%@", - [self currentIPAddress], - [self hostname]]; - } + return [NSString stringWithFormat:@"http://%@:%i\nhttp://%@:%i", + [self hostname], + _httpServer.listeningPort, + [self currentIPAddress], + _httpServer.listeningPort]; } else { return NSLocalizedString(@"HTTP_UPLOAD_SERVER_OFF", nil); } @@ -221,7 +215,7 @@ APLog(@"Setting document root: %@", docRoot); [_httpServer setDocumentRoot:docRoot]; - [_httpServer setPort:80]; + [_httpServer setPort:8080]; [_httpServer setConnectionClass:[VLCHTTPConnection class]];