Moved away from local files to complete database driven articles
This commit is contained in:
@@ -10,7 +10,9 @@ var (
|
||||
|
||||
ServerPort string
|
||||
|
||||
DatabaseFile string
|
||||
DatabaseFile string
|
||||
ArticleTemplate string
|
||||
FrontendDir string
|
||||
)
|
||||
|
||||
func init() {
|
||||
@@ -21,4 +23,6 @@ func init() {
|
||||
ServerPort = os.Getenv("SERVER_PORT")
|
||||
|
||||
DatabaseFile = os.Getenv("DATABASE_FILE")
|
||||
ArticleTemplate = os.Getenv("ARTICLE_TEMPLATE")
|
||||
FrontendDir = os.Getenv("FRONTEND_DIR")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user