feat: rename project from Fonu to Havline
CI / verify (push) Canceled after 0s

This commit is contained in:
2026-10-01 16:54:35 +08:00
parent c377405696
commit 8fa5d922ac
250 changed files with 6724 additions and 5070 deletions
+4 -4
View File
@@ -6,8 +6,8 @@ import (
)
func TestLoadNginxDefaultPorts(t *testing.T) {
t.Setenv("FONU_NGINX_HTTP_PORT", "18080")
t.Setenv("FONU_NGINX_HTTPS_PORT", "9443")
t.Setenv("HAVLINE_NGINX_HTTP_PORT", "18080")
t.Setenv("HAVLINE_NGINX_HTTPS_PORT", "9443")
cfg := Load()
if cfg.NginxDefaultHTTPPort != 18080 {
@@ -25,8 +25,8 @@ func TestLoadNginxDefaultPorts(t *testing.T) {
}
func TestLoadNginxDefaultPortsFallback(t *testing.T) {
os.Unsetenv("FONU_NGINX_HTTP_PORT")
os.Unsetenv("FONU_NGINX_HTTPS_PORT")
os.Unsetenv("HAVLINE_NGINX_HTTP_PORT")
os.Unsetenv("HAVLINE_NGINX_HTTPS_PORT")
cfg := Load()
if cfg.NginxDefaultHTTPPort != 80 || cfg.NginxDefaultHTTPSPort != 443 {