gestion apache_alias)

This commit is contained in:
afornerot 2023-06-26 17:07:37 +02:00
parent afa236359f
commit 859cc9883a
1 changed files with 2 additions and 2 deletions

View File

@ -10,9 +10,9 @@ Encore
// directory where compiled assets will be stored
.setOutputPath('public/build/')
// public path used by the web server to access the output path
.setPublicPath('/build')
.setPublicPath('/' + (process.env.APACHE_ALIAS ? process.env.APACHE_ALIAS + '/' : '') + 'build')
// only needed for CDN's or sub-directory deploy
//.setManifestKeyPrefix('build/')
.setManifestKeyPrefix('build/')
/*
* ENTRY CONFIG