Skip to content

Commit 0f46626

Browse files
committed
Use server name in HTML
1 parent e4a0301 commit 0f46626

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dlna.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ def send_browse_response(self):
730730
html = f"""<!DOCTYPE html>
731731
<html>
732732
<head>
733-
<title>{SERVER_DESCRIPTION}</title>
733+
<title>{self.server_name}</title>
734734
<style>
735735
body {{ font-family: Arial, sans-serif; margin: 40px; }}
736736
.breadcrumb {{ display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin-bottom: 20px; }}
@@ -749,7 +749,7 @@ def send_browse_response(self):
749749
</style>
750750
</head>
751751
<body>
752-
<h1>{SERVER_DESCRIPTION}</h1>
752+
<h1>{self.server_name}</h1>
753753
754754
<ul class="breadcrumb">
755755
"""

0 commit comments

Comments
 (0)