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 content documentation #2480

Merged
merged 2 commits into from Apr 3, 2019

Conversation

@rhyskeepence
Copy link
Contributor

@rhyskeepence rhyskeepence commented Mar 29, 2019

I didn't know (until recently) about the org.http4s.server.staticcontent package object. It seems to be a much more convenient way to host static content (one line, like wai-middleware-static). I've updated the docs to include it.

…s a more convenient one-liner for hosting static content
Copy link
Member

@rossabaker rossabaker left a comment

👍 Thanks!

@@ -2,31 +2,59 @@
menu: main
weight: 140
title: Static Files
---
Copy link
Member

@aeons aeons Apr 3, 2019

I think this is needed for Hugo to interpret the frontmatter in the file.

@rossabaker
Copy link
Member

@rossabaker rossabaker commented Apr 3, 2019

Looks like we haven't flagged all the flaky tests.

@rossabaker rossabaker merged commit b363c78 into http4s:master Apr 3, 2019
1 check failed
1 check failed
continuous-integration/travis-ci/pr The Travis CI build failed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants