Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--static_dir . and work with index.html as a template #14

Open
danvk opened this issue Jul 14, 2016 · 0 comments
Open

--static_dir . and work with index.html as a template #14

danvk opened this issue Jul 14, 2016 · 0 comments
Labels

Comments

@danvk
Copy link
Owner

danvk commented Jul 14, 2016

If you set --static_dir . and name your template file index.html, then localturk will serve your template without filling in the values. This is quite surprising!

Better behavior would be to have the / handler take precedence over the static file handler.

@danvk danvk added the bug label Jul 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant