mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Configuration
* Added flags to customize the host and port * Start up just one server rather than a server for HTTP and HTTPS. HTTPS server will only start if a cert and key are found
This commit is contained in:
@@ -36,3 +36,11 @@ func GetDefaultDatabaseFilePath() string {
|
||||
func GetDefaultConfigFilePath() string {
|
||||
return filepath.Join(GetConfigDirectory(), "config.yml")
|
||||
}
|
||||
|
||||
func GetSSLKey() string {
|
||||
return filepath.Join(GetConfigDirectory(), "stash.key")
|
||||
}
|
||||
|
||||
func GetSSLCert() string {
|
||||
return filepath.Join(GetConfigDirectory(), "stash.crt")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user