aboutsummaryrefslogtreecommitdiff
path: root/cmd/mi
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mi')
-rw-r--r--cmd/mi/services/posse/posse.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/mi/services/posse/posse.go b/cmd/mi/services/posse/posse.go
index 7645470..6c6702b 100644
--- a/cmd/mi/services/posse/posse.go
+++ b/cmd/mi/services/posse/posse.go
@@ -65,7 +65,8 @@ func New(ctx context.Context, dao *models.DAO, cfg Config) (*Announcer, error) {
func (a *Announcer) Announce(ctx context.Context, it *jsonfeed.Item) (*emptypb.Empty, error) {
switch {
case strings.Contains(it.GetUrl(), "svc.alrest.xeserv.us"),
- strings.Contains(it.GetUrl(), "shark-harmonic.ts.net"):
+ strings.Contains(it.GetUrl(), "shark-harmonic.ts.net"),
+ strings.Contains(it.GetUrl(), "preview.xeiaso.net"):
slog.Info("skipping announcement", "url", it.GetUrl(), "reason", "staging URLs")
return &emptypb.Empty{}, nil
}