Skip to content

Commit

Permalink
feat: Dotenv for API name and description
Browse files Browse the repository at this point in the history
  • Loading branch information
ambroisemaupate committed Dec 2, 2022
1 parent 721cdb3 commit 0184f91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
APP_DEBUG=1
APP_CACHE=0
APP_NAMESPACE=dev
APP_TITLE="Roadiz development app"
APP_DESCRIPTION="Roadiz development app"
APP_VERSION=0.1.0
APP_FFMPEG_PATH=/usr/bin/ffmpeg
# Define values in Vault
Expand Down
4 changes: 2 additions & 2 deletions config/packages/api_platform.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
api_platform:
title: "Roadiz development app"
description: "Roadiz development app"
title: "%env(string:APP_TITLE)%"
description: "%env(string:APP_DESCRIPTION)%"
version: '%env(string:APP_VERSION)%'
enable_swagger_ui: false
enable_re_doc: true
Expand Down

0 comments on commit 0184f91

Please sign in to comment.