TEMPLATE env vars

This commit is contained in:
Zeni Kim 2024-09-23 18:11:13 -05:00
parent 3e8ae397d8
commit 9b61e1ccf9
2 changed files with 8 additions and 1 deletions

View file

@ -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 ######
#######################################

View file

@ -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,
}
}