Added api endpoints and tests
This commit is contained in:
@@ -10,6 +10,8 @@ var (
|
||||
|
||||
ServerPort string
|
||||
|
||||
Prefix string
|
||||
|
||||
DatabaseFile string
|
||||
ArticleTemplate string
|
||||
FrontendDir string
|
||||
@@ -22,6 +24,8 @@ func init() {
|
||||
|
||||
ServerPort = os.Getenv("SERVER_PORT")
|
||||
|
||||
Prefix = os.Getenv("PREFIX")
|
||||
|
||||
DatabaseFile = os.Getenv("DATABASE_FILE")
|
||||
ArticleTemplate = os.Getenv("ARTICLE_TEMPLATE")
|
||||
FrontendDir = os.Getenv("FRONTEND_DIR")
|
||||
|
||||
Reference in New Issue
Block a user