Oops, forgot config.go
This commit is contained in:
parent
ce9195c841
commit
87c07ace6a
17
config.go
17
config.go
|
@ -2,22 +2,23 @@ package main
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
// Site Info
|
// Site Info
|
||||||
site.Name = "TS" // Should be a setting in the database
|
site.Name = "TS"
|
||||||
site.Email = "" // Should be a setting in the database
|
site.Email = ""
|
||||||
site.Url = "localhost"
|
site.URL = "localhost"
|
||||||
site.Port = "8080" // 8080
|
site.Port = "8080" // 8080
|
||||||
site.EnableSsl = false
|
site.EnableSsl = false
|
||||||
site.EnableEmails = false
|
site.EnableEmails = false
|
||||||
site.HasProxy = false // Cloudflare counts as this, if it's sitting in the middle
|
site.HasProxy = false // Cloudflare counts as this, if it's sitting in the middle
|
||||||
config.SslPrivkey = ""
|
config.SslPrivkey = ""
|
||||||
config.SslFullchain = ""
|
config.SslFullchain = ""
|
||||||
|
site.Language = "english"
|
||||||
|
|
||||||
// Database details
|
// Database details
|
||||||
db_config.Host = "localhost"
|
dbConfig.Host = "localhost"
|
||||||
db_config.Username = "root"
|
dbConfig.Username = "root"
|
||||||
db_config.Password = "password"
|
dbConfig.Password = "password"
|
||||||
db_config.Dbname = "gosora"
|
dbConfig.Dbname = "gosora"
|
||||||
db_config.Port = "3306" // You probably won't need to change this
|
dbConfig.Port = "3306" // You probably won't need to change this
|
||||||
|
|
||||||
// Limiters
|
// Limiters
|
||||||
config.MaxRequestSize = 5 * megabyte
|
config.MaxRequestSize = 5 * megabyte
|
||||||
|
|
Loading…
Reference in New Issue