mirror of
https://github.com/h44z/wg-portal.git
synced 2025-09-15 07:11:15 +00:00
chore: replace gin with standard lib net/http
This commit is contained in:
@@ -3,6 +3,8 @@ package config
|
||||
type WebConfig struct {
|
||||
// RequestLogging enables logging of all HTTP requests.
|
||||
RequestLogging bool `yaml:"request_logging"`
|
||||
// ExposeHostInfo sets whether the host information should be exposed in a response header.
|
||||
ExposeHostInfo bool `yaml:"expose_host_info"`
|
||||
// ExternalUrl is the URL where a client can access WireGuard Portal.
|
||||
// This is used for the callback URL of the OAuth providers.
|
||||
ExternalUrl string `yaml:"external_url"`
|
||||
|
Reference in New Issue
Block a user