Merge pull request #3528 from MHSanaei/security

Security issue fixed
This commit is contained in:
Sanaei authored and GitHub committed 2025-09-21 18:05:26 +02:00 Unverified
commit 806ecbd7c5
5 files changed
+65 -15

No files matched your search

+3
View File
@@ -1,4 +1,7 @@
name: Release 3X-UI for Docker
permissions:
contents: read
packages: write
on:
workflow_dispatch:
push:
+5 -5
View File
@@ -23,11 +23,11 @@ type LogLevel string
// Logging level constants
const (
Debug LogLevel = "debug"
Info LogLevel = "info"
Notice LogLevel = "notice"
Warn LogLevel = "warn"
Error LogLevel = "error"
Debug LogLevel = "debug"
Info LogLevel = "info"
Notice LogLevel = "notice"
Warning LogLevel = "warning"
Error LogLevel = "error"
)
// GetVersion returns the version string of the 3x-ui application.
+1 -1
View File
@@ -35,7 +35,7 @@ func runWebServer() {
logger.InitLogger(logging.INFO)
case config.Notice:
logger.InitLogger(logging.NOTICE)
case config.Warn:
case config.Warning:
logger.InitLogger(logging.WARNING)
case config.Error:
logger.InitLogger(logging.ERROR)
Loaded 3 of 5 files, more files were not shown because too many files have changed in this diff. Show more