rename URL variable to FRONTEND_URL

This commit is contained in:
ngn
2024-04-11 16:19:41 +03:00
parent f20fb44a38
commit 7b010270e5
3 changed files with 4 additions and 4 deletions

View File

@ -193,7 +193,7 @@ func GetFeed() (*feeds.Feed, error){
rows.Close()
blogurl, err := url.JoinPath(os.Getenv("URL"), "/blog")
blogurl, err := url.JoinPath(os.Getenv("FRONTEND_URL"), "/blog")
if err != nil {
return nil, fmt.Errorf("failed to create the blog URL: %s", err.Error())
}