Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Correct Public URL for the custom Logo in settings and in estimations headers #16

Open
tkapias opened this issue Mar 23, 2021 · 0 comments

Comments

@tkapias
Copy link

tkapias commented Mar 23, 2021

In the current master the custom Logo picture is forced with the localhost URL from the APP_URL env variable.

I use it behind a proxy and a public URL, here my own correction :

webroot/.env

  • Add a new variable with the custom public URL :
WEB_URL=https://public.domain

webroot/config/filesystems.php

  • Modify the variable in disks/public/url:env :
    'disks' => [

        'local' => [
            'driver' => 'local',
            'root' => storage_path('app'),
        ],

        'public' => [
            'driver' => 'local',
            'root' => storage_path('app/public'),
            'url' => env('WEB_URL').'/storage',
            ...
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant