refactor(openflare): remove unused About page and API

Delete AboutService and GET /api/v1/d/about since the about page was
never implemented in the Wavelet frontend.
This commit is contained in:
ryan
2026-06-19 11:17:57 +08:00
parent 42ca0ec642
commit 8fb988ba0a
11 changed files with 2 additions and 159 deletions
@@ -73,21 +73,16 @@ func TestUpdateOptionHotReloadsOptionMap(t *testing.T) {
assert.Equal(t, "HotReloaded", model.SystemName)
}
func TestGetNoticeAndAbout(t *testing.T) {
func TestGetNotice(t *testing.T) {
cleanup := setupOptionTestDB(t)
defer cleanup()
ctx := context.Background()
require.NoError(t, updateOption(ctx, model.OpenFlareOption{Key: "Notice", Value: "hello"}))
require.NoError(t, updateOption(ctx, model.OpenFlareOption{Key: "About", Value: "about-us"}))
notice, err := getNotice(ctx)
require.NoError(t, err)
assert.Equal(t, "hello", notice)
about, err := getAbout(ctx)
require.NoError(t, err)
assert.Equal(t, "about-us", about)
}
func TestLookupGeoIPDisabledProvider(t *testing.T) {