export/meta: write info.json file
1 files changed, 7 insertions(+), 0 deletions(-) M export/meta.go
M export/meta.go => export/meta.go +7 -0
@@ 78,5 78,12 @@ func (ex *MetaExporter) Export(ctx context.Context, dir string) error { } } + if err := writeJSON(path.Join(dir, infoFilename), &Info{ + Service: "meta.sr.ht", + Name: me.CanonicalName, + }); err != nil { + return err + } + return nil }