From 10ca893bcaa2081cac992dc62b50e5a24032f201 Mon Sep 17 00:00:00 2001 From: SG Command Date: Thu, 13 Aug 2026 16:56:50 +0200 Subject: [PATCH] fix: use generic Origin service type --- README.md | 2 +- server/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 688314d..865c3f8 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ docker-compose.yml wedding app, published to 127.0.0.1:8080 only ## Config Copy `config.example.yaml` to `config.yaml` and fill in the wedding date, SMTP settings, storage path, and (if enabled) the Origin service key. Path is resolved from `CONFIG_PATH` (default `./config.yaml`) — that's the only env var; everything else lives in the file. -When `origin.service_key` is configured, the server registers itself with Origin as the `CronoCraft App` named `ZoeShaldon` immediately at startup and repeats the check-in every 24 hours. Registration failures are logged without taking down the wedding site. Leave the key empty to disable registration. +When `origin.service_key` is configured, the server registers itself with Origin as the `generic` service type named `ZoeShaldon` immediately at startup and repeats the check-in every 24 hours. Registration failures are logged without taking down the wedding site. Leave the key empty to disable registration. ## Run with Docker Runs behind an existing Apache reverse proxy on the host (Apache owns TLS for `zoeshaldon.warky.info`) — see `PLAN.md` for the Apache vhost config. Not yet verified end-to-end. diff --git a/server/main.go b/server/main.go index af7391d..ebad209 100644 --- a/server/main.go +++ b/server/main.go @@ -47,7 +47,7 @@ func main() { origin, err := originclient.New(originclient.Config{ URL: cfg.Origin.URL, ServiceKey: cfg.Origin.ServiceKey, - Type: "CronoCraft App", + Type: "generic", Version: cfg.Origin.Version, Name: "ZoeShaldon", AppType: "go",