fix: change app.mediaBaseURL to media.baseURL in install, docker entrypoints and docs

This commit is contained in:
Yassine Doghri 2023-03-17 17:36:26 +00:00
parent 0cb2e99f03
commit b3c6e05e6f
20 changed files with 20 additions and 20 deletions

View File

@ -14,7 +14,7 @@
# Instance configuration # Instance configuration
#-------------------------------------------------------------------- #--------------------------------------------------------------------
app.baseURL="https://YOUR_DOMAIN_NAME/" app.baseURL="https://YOUR_DOMAIN_NAME/"
app.mediaBaseURL="https://YOUR_MEDIA_DOMAIN_NAME/" media.baseURL="https://YOUR_MEDIA_DOMAIN_NAME/"
admin.gateway="cp-admin" admin.gateway="cp-admin"
auth.gateway="cp-auth" auth.gateway="cp-auth"

View File

@ -107,7 +107,7 @@ fi
cat << EOF > /opt/castopod/.env cat << EOF > /opt/castopod/.env
app.baseURL="${CP_BASEURL}" app.baseURL="${CP_BASEURL}"
app.mediaBaseURL="${CP_MEDIA_BASEURL}" media.baseURL="${CP_MEDIA_BASEURL}"
EOF EOF
if [ "${CP_DISABLE_HTTPS}" == "1" ] if [ "${CP_DISABLE_HTTPS}" == "1" ]

View File

@ -107,7 +107,7 @@ fi
cat << EOF > /var/www/castopod/.env cat << EOF > /var/www/castopod/.env
app.baseURL="${CP_BASEURL}" app.baseURL="${CP_BASEURL}"
app.mediaBaseURL="${CP_MEDIA_BASEURL}" media.baseURL="${CP_MEDIA_BASEURL}"
EOF EOF
if [ "${CP_DISABLE_HTTPS}" = "1" ] if [ "${CP_DISABLE_HTTPS}" = "1" ]

View File

@ -43,7 +43,7 @@ to help you kickstart your contribution.
app.forceGlobalSecureRequests=false app.forceGlobalSecureRequests=false
app.baseURL="http://localhost:8080/" app.baseURL="http://localhost:8080/"
app.mediaBaseURL="http://localhost:8080/" media.baseURL="http://localhost:8080/"
admin.gateway="cp-admin" admin.gateway="cp-admin"
auth.gateway="cp-auth" auth.gateway="cp-auth"

View File

@ -43,7 +43,7 @@ to help you kickstart your contribution.
app.forceGlobalSecureRequests=false app.forceGlobalSecureRequests=false
app.baseURL="http://localhost:8080/" app.baseURL="http://localhost:8080/"
app.mediaBaseURL="http://localhost:8080/" media.baseURL="http://localhost:8080/"
admin.gateway="cp-admin" admin.gateway="cp-admin"
auth.gateway="cp-auth" auth.gateway="cp-auth"

View File

@ -43,7 +43,7 @@ to help you kickstart your contribution.
app.forceGlobalSecureRequests=false app.forceGlobalSecureRequests=false
app.baseURL="http://localhost:8080/" app.baseURL="http://localhost:8080/"
app.mediaBaseURL="http://localhost:8080/" media.baseURL="http://localhost:8080/"
admin.gateway="cp-admin" admin.gateway="cp-admin"
auth.gateway="cp-auth" auth.gateway="cp-auth"

View File

@ -43,7 +43,7 @@ to help you kickstart your contribution.
app.forceGlobalSecureRequests=false app.forceGlobalSecureRequests=false
app.baseURL="http://localhost:8080/" app.baseURL="http://localhost:8080/"
app.mediaBaseURL="http://localhost:8080/" media.baseURL="http://localhost:8080/"
admin.gateway="cp-admin" admin.gateway="cp-admin"
auth.gateway="cp-auth" auth.gateway="cp-auth"

View File

@ -43,7 +43,7 @@ to help you kickstart your contribution.
app.forceGlobalSecureRequests=false app.forceGlobalSecureRequests=false
app.baseURL="http://localhost:8080/" app.baseURL="http://localhost:8080/"
app.mediaBaseURL="http://localhost:8080/" media.baseURL="http://localhost:8080/"
admin.gateway="cp-admin" admin.gateway="cp-admin"
auth.gateway="cp-auth" auth.gateway="cp-auth"

View File

@ -43,7 +43,7 @@ to help you kickstart your contribution.
app.forceGlobalSecureRequests=false app.forceGlobalSecureRequests=false
app.baseURL="http://localhost:8080/" app.baseURL="http://localhost:8080/"
app.mediaBaseURL="http://localhost:8080/" media.baseURL="http://localhost:8080/"
admin.gateway="cp-admin" admin.gateway="cp-admin"
auth.gateway="cp-auth" auth.gateway="cp-auth"

View File

@ -43,7 +43,7 @@ to help you kickstart your contribution.
app.forceGlobalSecureRequests=false app.forceGlobalSecureRequests=false
app.baseURL="http://localhost:8080/" app.baseURL="http://localhost:8080/"
app.mediaBaseURL="http://localhost:8080/" media.baseURL="http://localhost:8080/"
admin.gateway="cp-admin" admin.gateway="cp-admin"
auth.gateway="cp-auth" auth.gateway="cp-auth"

View File

@ -43,7 +43,7 @@ to help you kickstart your contribution.
app.forceGlobalSecureRequests=false app.forceGlobalSecureRequests=false
app.baseURL="http://localhost:8080/" app.baseURL="http://localhost:8080/"
app.mediaBaseURL="http://localhost:8080/" media.baseURL="http://localhost:8080/"
admin.gateway="cp-admin" admin.gateway="cp-admin"
auth.gateway="cp-auth" auth.gateway="cp-auth"

View File

@ -43,7 +43,7 @@ to help you kickstart your contribution.
app.forceGlobalSecureRequests=false app.forceGlobalSecureRequests=false
app.baseURL="http://localhost:8080/" app.baseURL="http://localhost:8080/"
app.mediaBaseURL="http://localhost:8080/" media.baseURL="http://localhost:8080/"
admin.gateway="cp-admin" admin.gateway="cp-admin"
auth.gateway="cp-auth" auth.gateway="cp-auth"

View File

@ -43,7 +43,7 @@ to help you kickstart your contribution.
app.forceGlobalSecureRequests=false app.forceGlobalSecureRequests=false
app.baseURL="http://localhost:8080/" app.baseURL="http://localhost:8080/"
app.mediaBaseURL="http://localhost:8080/" media.baseURL="http://localhost:8080/"
admin.gateway="cp-admin" admin.gateway="cp-admin"
auth.gateway="cp-auth" auth.gateway="cp-auth"

View File

@ -43,7 +43,7 @@ to help you kickstart your contribution.
app.forceGlobalSecureRequests=false app.forceGlobalSecureRequests=false
app.baseURL="http://localhost:8080/" app.baseURL="http://localhost:8080/"
app.mediaBaseURL="http://localhost:8080/" media.baseURL="http://localhost:8080/"
admin.gateway="cp-admin" admin.gateway="cp-admin"
auth.gateway="cp-auth" auth.gateway="cp-auth"

View File

@ -43,7 +43,7 @@ to help you kickstart your contribution.
app.forceGlobalSecureRequests=false app.forceGlobalSecureRequests=false
app.baseURL="http://localhost:8080/" app.baseURL="http://localhost:8080/"
app.mediaBaseURL="http://localhost:8080/" media.baseURL="http://localhost:8080/"
admin.gateway="cp-admin" admin.gateway="cp-admin"
auth.gateway="cp-auth" auth.gateway="cp-auth"

View File

@ -43,7 +43,7 @@ to help you kickstart your contribution.
app.forceGlobalSecureRequests=false app.forceGlobalSecureRequests=false
app.baseURL="http://localhost:8080/" app.baseURL="http://localhost:8080/"
app.mediaBaseURL="http://localhost:8080/" media.baseURL="http://localhost:8080/"
admin.gateway="cp-admin" admin.gateway="cp-admin"
auth.gateway="cp-auth" auth.gateway="cp-auth"

View File

@ -43,7 +43,7 @@ to help you kickstart your contribution.
app.forceGlobalSecureRequests=false app.forceGlobalSecureRequests=false
app.baseURL="http://localhost:8080/" app.baseURL="http://localhost:8080/"
app.mediaBaseURL="http://localhost:8080/" media.baseURL="http://localhost:8080/"
admin.gateway="cp-admin" admin.gateway="cp-admin"
auth.gateway="cp-auth" auth.gateway="cp-auth"

View File

@ -43,7 +43,7 @@ to help you kickstart your contribution.
app.forceGlobalSecureRequests=false app.forceGlobalSecureRequests=false
app.baseURL="http://localhost:8080/" app.baseURL="http://localhost:8080/"
app.mediaBaseURL="http://localhost:8080/" media.baseURL="http://localhost:8080/"
admin.gateway="cp-admin" admin.gateway="cp-admin"
auth.gateway="cp-auth" auth.gateway="cp-auth"

View File

@ -43,7 +43,7 @@ to help you kickstart your contribution.
app.forceGlobalSecureRequests=false app.forceGlobalSecureRequests=false
app.baseURL="http://localhost:8080/" app.baseURL="http://localhost:8080/"
app.mediaBaseURL="http://localhost:8080/" media.baseURL="http://localhost:8080/"
admin.gateway="cp-admin" admin.gateway="cp-admin"
auth.gateway="cp-auth" auth.gateway="cp-auth"

View File

@ -167,7 +167,7 @@ class InstallController extends Controller
$mediaBaseUrl = $this->request->getPost('media_base_url'); $mediaBaseUrl = $this->request->getPost('media_base_url');
self::writeEnv([ self::writeEnv([
'app.baseURL' => $baseUrl, 'app.baseURL' => $baseUrl,
'app.mediaBaseURL' => 'media.baseURL' =>
$mediaBaseUrl === '' ? $baseUrl : $mediaBaseUrl, $mediaBaseUrl === '' ? $baseUrl : $mediaBaseUrl,
'analytics.salt' => generate_random_salt(64), 'analytics.salt' => generate_random_salt(64),
'admin.gateway' => $this->request->getPost('admin_gateway'), 'admin.gateway' => $this->request->getPost('admin_gateway'),