Internal: Add APP_ENABLE_API_ENTRYPOINT to enable the API docs page

pull/5726/head
Angel Fernando Quiroz Campos 1 year ago
parent 911c367e67
commit 5959fbfbd0
No known key found for this signature in database
GPG Key ID: B284841AE3E562CD
  1. 3
      .env.dist
  2. 2
      config/packages/prod/api_platform.yaml

@ -35,6 +35,9 @@ APP_CUSTOM_VUE_TEMPLATE='0'
GOOGLE_MAPS_API_KEY=''
# Enable the entryponint /api for API docs
APP_ENABLE_API_ENTRYPOINT=false
#APP_API_PLATFORM_URL='http://localhost/api/' #deprecated
###< chamilo ###

@ -1,3 +1,3 @@
api_platform:
enable_docs: true
enable_entrypoint: false
enable_entrypoint: '%env(bool:APP_ENABLE_API_ENTRYPOINT)%'

Loading…
Cancel
Save