forked from goffee/cup
TEMPLATE env vars
This commit is contained in:
parent
3e8ae397d8
commit
9b61e1ccf9
2 changed files with 8 additions and 1 deletions
|
@ -14,6 +14,13 @@ App_REDIRECT_HTTP_TO_HTTPS=false
|
|||
App_CERT_FILE_PATH=tls/server.crt
|
||||
App_KEY_FILE_PATH=tls/server.key
|
||||
|
||||
#######################################
|
||||
###### TEMPLATES ######
|
||||
#######################################
|
||||
TEMPLATE_ENABLE=true
|
||||
TEMPLATE_PUBLIC=storage/public
|
||||
TEMPLATE_COMPONENTS=true
|
||||
|
||||
#######################################
|
||||
###### JWT ######
|
||||
#######################################
|
||||
|
|
|
@ -16,6 +16,6 @@ func GetGormConfig() core.GormConfig {
|
|||
return core.GormConfig{
|
||||
// For enabling and disabling the GORM
|
||||
// set to true to enable it, set to false to disable
|
||||
EnableGorm: false,
|
||||
EnableGorm: true,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue