feat: register app with Origin

This commit is contained in:
SG Command
2026-08-13 12:06:50 +02:00
parent d8f70cf731
commit 613db495e8
6 changed files with 81 additions and 3 deletions
+7
View File
@@ -10,6 +10,7 @@ import (
type Config struct {
Server ServerConfig `yaml:"server"`
Origin OriginConfig `yaml:"origin"`
Site SiteConfig `yaml:"site"`
Wedding WeddingConfig `yaml:"wedding"`
Storage StorageConfig `yaml:"storage"`
@@ -18,6 +19,12 @@ type Config struct {
Webhook WebhookConfig `yaml:"webhook"`
}
type OriginConfig struct {
ServiceKey string `yaml:"service_key"`
URL string `yaml:"url"`
Version string `yaml:"version"`
}
type ServerConfig struct {
Port int `yaml:"port"`
}