okpy / ok

ok.py supports programming projects by running tests, tracking progress, and assisting in debugging.
Apache License 2.0
335 stars 84 forks source link

Remove hard-coded links to static files #1299

Closed c-w closed 6 years ago

c-w commented 6 years ago

This change replaces all direct links to static files (such as /static/foo/bar) with their equivalent url_for call. This introduces consistency with code that creates links to the app's Flask routes and also ensures that the links to the static files will always be correct even if the application is for example hosted at a non-root path.

c-w commented 6 years ago

Thanks for the review @colinschoen and the CI fixes. Build now passes.