generated from VLADIMIR/template
add file prefix
This commit is contained in:
@@ -72,7 +72,10 @@ func main() {
|
||||
}
|
||||
fileService := file_service.NewFileService(fileStorage)
|
||||
scenariosRepo := scenarios_repo.NewScenariosRepo(dbpool)
|
||||
scenarioService := scenarios_service.NewScenarioService(scenariosRepo)
|
||||
scenarioService := scenarios_service.NewScenarioService(
|
||||
scenariosRepo,
|
||||
os.Getenv("FILE_PREFIX_DOMAIN"),
|
||||
)
|
||||
|
||||
// Create a listener on TCP port
|
||||
lis, err := net.Listen("tcp", ":8080")
|
||||
|
||||
Reference in New Issue
Block a user