fix: bridge panel admin authorization

This commit is contained in:
kory
2026-10-02 13:36:25 +08:00
parent 556870b594
commit 9fbb2bd80a
3 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ func (testRunner) RotateAPIKey(w http.ResponseWriter, r *http.Request) {}
func (testRunner) DeleteDevice(w http.ResponseWriter, r *http.Request) {}
func TestStaticCSSContentType(t *testing.T) {
p := New("test-password", testRunner{})
p := New("test-password", "admin", testRunner{})
req := httptest.NewRequest("GET", "/static/app.css", nil)
rec := httptest.NewRecorder()