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-20 17:56:11 +08:00
parent e142cc00c6
commit 0091a9dd7f
4 changed files with 55 additions and 9 deletions
+1
View File
@@ -30,6 +30,7 @@ type Config struct {
Oss Oss
Jwt Jwt
Rustdesk Rustdesk
Proxy Proxy
}
// Init 初始化配置
+6
View File
@@ -0,0 +1,6 @@
package config
type Proxy struct {
Enable bool `mapstructure:"enable"`
Host string `mapstructure:"host"`
}