Skip to content

When customizing the static contents source path then... #3

@st6mm

Description

@st6mm

Not an issue - suggestion / helper.

https://stackoverflow.com/questions/48722223/flask-cant-find-static-files-with-webpack/48722831#48722831

app = Flask(name, static_folder='../client/dist/', template_folder='../client/dist/', static_url_path="")

Set the static_url_path="" to empty string otherwise will not find the resources from the custom path.

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