Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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