feat: register app with Origin
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user