Skip to content

Remove static url configuration that improperly sets url path to a fi… - #206

Open
christabor wants to merge 4 commits into
mainfrom
windows-url-error
Open

Remove static url configuration that improperly sets url path to a fi…#206
christabor wants to merge 4 commits into
mainfrom
windows-url-error

Conversation

@christabor

Copy link
Copy Markdown
Owner

…le path, resulting in a 500 error in Windows. Closes #128.

Locally I'm able to confirm this works both during testing and in manual viewing of the page. I think this was originally set for the purpose of making it installable not just as an app, but as an imported package. However, the docs for flask indicate that this is always relative to the application, and this is configured to use an absolute path anyway:

STATIC_DIR = os.path.dirname(static.__file__)

so, this should negate the need to manually set both.

screen shot 2019-02-28 at 9 55 36 pm

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant