Skip to content

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

@tkapias

Description

@tkapias

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',
            ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions