diff --git a/.env b/.env index f612c84..f983b7d 100644 --- a/.env +++ b/.env @@ -59,8 +59,8 @@ APP_SENSITIVE=0 APP_TRACKERS=http://[201:23b4:991a:634d:8359:4521:5576:15b7]:2023/announce|http://[200:1e2f:e608:eb3a:2bf:1e62:87ba:e2f7]/announce|http://[316:c51a:62a3:8b9::5]/announce -APP_PAGE_TITLE_LENGTH_MIN=10 -APP_PAGE_TITLE_LENGTH_MAX=255 -APP_PAGE_DESCRIPTION_LENGTH_MIN=0 -APP_PAGE_DESCRIPTION_LENGTH_MAX=10000 +APP_ARTICLE_TITLE_LENGTH_MIN=10 +APP_ARTICLE_TITLE_LENGTH_MAX=255 +APP_ARTICLE_DESCRIPTION_LENGTH_MIN=0 +APP_ARTICLE_DESCRIPTION_LENGTH_MAX=10000 APP_TORRENT_FILE_SIZE_MAX=1024000 \ No newline at end of file diff --git a/config/services.yaml b/config/services.yaml index fe1f1ea..b76b546 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -12,10 +12,10 @@ parameters: app.themes: '%env(APP_THEMES)%' app.sensitive: '%env(APP_SENSITIVE)%' app.trackers: '%env(APP_TRACKERS)%' - app.article.title.length.min: '%env(APP_PAGE_TITLE_LENGTH_MIN)%' - app.article.title.length.max: '%env(APP_PAGE_TITLE_LENGTH_MAX)%' - app.article.description.length.min: '%env(APP_PAGE_DESCRIPTION_LENGTH_MIN)%' - app.article.description.length.max: '%env(APP_PAGE_DESCRIPTION_LENGTH_MAX)%' + app.article.title.length.min: '%env(APP_ARTICLE_TITLE_LENGTH_MIN)%' + app.article.title.length.max: '%env(APP_ARTICLE_TITLE_LENGTH_MAX)%' + app.article.description.length.min: '%env(APP_ARTICLE_DESCRIPTION_LENGTH_MIN)%' + app.article.description.length.max: '%env(APP_ARTICLE_DESCRIPTION_LENGTH_MAX)%' app.torrent.size.max: '%env(APP_TORRENT_FILE_SIZE_MAX)%' services: