Set assets base path
continuous-integration/drone/push Build is passing Details

pull/6/head
Clément FRÉVILLE 4 weeks ago
parent 8789da089d
commit 12f3b91044

@ -59,6 +59,8 @@ steps:
environment:
# Disable HTTPS redirection as it served by a reverse proxy
CODEFIRST_CLIENTDRONE_ENV_SERVER_NAME: http://codefirst.iut.uca.fr
CODEFIRST_CLIENTDRONE_ENV_CORS_ALLOW_ORIGIN: https://codefirst.iut.uca.fr
CODEFIRST_CLIENTDRONE_ENV_ASSETS_BASE_PATH: /containers/clementfreville2-herbarium
depends_on:
- docker-image
when:

@ -14,6 +14,8 @@
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
ASSETS_BASE_PATH=/
###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=654d4972fc24500c7b43763fc3b3efa7

@ -3,6 +3,9 @@ framework:
secret: '%env(APP_SECRET)%'
#csrf_protection: true
assets:
base_path: '%env(ASSETS_BASE_PATH)%'
# Note that the session will be started ONLY if you read or write from it.
session: true

Loading…
Cancel
Save