feat: binding ip with session

🛡️staying safe even your frontend was hacked
This commit is contained in:
naiba
2025-10-09 21:36:59 +08:00
parent 1db4fe4679
commit 540c1cb1e7
7 changed files with 109 additions and 17 deletions
-5
View File
@@ -2,7 +2,6 @@ package ddns
import (
"context"
"os"
"testing"
)
@@ -13,10 +12,6 @@ type testSt struct {
}
func TestSplitDomainSOA(t *testing.T) {
if ci := os.Getenv("CI"); ci != "" { // skip if test on CI
return
}
cases := []testSt{
{
domain: "www.example.co.uk",