mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-08-09 06:37:47 +02:00
Refactorized main entry function
- Moved constants to def.go - Added acme close function (not used for now) - Added robots.txt to prevent webmin panel being scanned by search engine
This commit is contained in:
@@ -368,9 +368,9 @@ func HandleZoraxyInfo(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
info := ZoraxyInfo{
|
||||
Version: version,
|
||||
Version: SYSTEM_VERSION,
|
||||
NodeUUID: nodeUUID,
|
||||
Development: development,
|
||||
Development: DEVELOPMENT_BUILD,
|
||||
BootTime: bootTime,
|
||||
EnableSshLoopback: *allowSshLoopback,
|
||||
ZerotierConnected: ganManager.ControllerID != "",
|
||||
|
Reference in New Issue
Block a user