Add oauth callback via proxy

Improved support for environment variables and configuration files, and standardized default behaviors
This commit is contained in:
Oganneson
2024-10-19 15:46:45 +08:00
parent e142cc00c6
commit 0091a9dd7f
4 changed files with 55 additions and 9 deletions

6
config/proxy.go Normal file
View File

@@ -0,0 +1,6 @@
package config
type Proxy struct {
Enable bool `mapstructure:"enable"`
Host string `mapstructure:"host"`
}