Change Project Name

This commit is contained in:
Whispering Wind
2025-04-18 13:28:34 +03:30
committed by GitHub
parent f7b45baef0
commit e91825ca2c
10 changed files with 27 additions and 22 deletions

View File

@ -6,8 +6,8 @@ import requests
from pathlib import Path
LOCALVERSION = "/etc/hysteria/VERSION"
LATESTVERSION = "https://raw.githubusercontent.com/ReturnFI/Hysteria2/main/VERSION"
LASTESTCHANGE = "https://raw.githubusercontent.com/ReturnFI/Hysteria2/main/changelog"
LATESTVERSION = "https://raw.githubusercontent.com/ReturnFI/Blitz/main/VERSION"
LASTESTCHANGE = "https://raw.githubusercontent.com/ReturnFI/Blitz/main/changelog"
def version_greater_equal(version1, version2):
version1_parts = [int(part) for part in version1.strip().split('.')]

View File

@ -9,8 +9,8 @@ NORMALSUB_ENV="/etc/hysteria/core/scripts/normalsub/.env"
WEBPANEL_ENV="/etc/hysteria/core/scripts/webpanel/.env"
ONLINE_API_URL="http://127.0.0.1:25413/online"
LOCALVERSION="/etc/hysteria/VERSION"
LATESTVERSION="https://raw.githubusercontent.com/ReturnFI/Hysteria2/main/VERSION"
LASTESTCHANGE="https://raw.githubusercontent.com/ReturnFI/Hysteria2/main/changelog"
LATESTVERSION="https://raw.githubusercontent.com/ReturnFI/Blitz/main/VERSION"
LASTESTCHANGE="https://raw.githubusercontent.com/ReturnFI/Blitz/main/changelog"
CONNECTIONS_FILE="/etc/hysteria/hysteria_connections.json"
BLOCK_LIST="/tmp/hysteria_blocked_ips.txt"
SCRIPT_PATH="/etc/hysteria/core/scripts/hysteria2/limit.sh"

View File

@ -30,7 +30,7 @@ def create_app() -> FastAPI:
description='Webpanel for Hysteria',
version='0.1.0',
contact={
'github': 'https://github.com/ReturnFI/Hysteria2'
'github': 'https://github.com/ReturnFI/Blitz'
},
debug=CONFIGS.DEBUG,
root_path=f'/{CONFIGS.ROOT_PATH}',

View File

@ -120,7 +120,7 @@
<footer class="main-footer">
<div class="d-flex justify-content-between align-items-center">
<div>
<a href="https://github.com/ReturnFI/Hysteria2" target="_blank" class="text-decoration-none">
<a href="https://github.com/ReturnFI/Blitz" target="_blank" class="text-decoration-none">
<span class="badge badge-secondary" style="font-size: 0.9rem;">
<i class="fab fa-github"></i> GitHub
</span>
@ -130,7 +130,7 @@
<i class="fab fa-telegram"></i> Telegram
</span>
</a>
<a href="https://github.com/ReturnFI/Hysteria2/releases" target="_blank" class="text-decoration-none ml-2 mr-2">
<a href="https://github.com/ReturnFI/Blitz/releases" target="_blank" class="text-decoration-none ml-2 mr-2">
<span class="badge badge-success" style="font-size: 0.9rem;">
<i class="fas fa-code-branch"></i> <span id="panel-version"></span>
</span>