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

Projects
None yet
3 participants
@rhyskeepence
Copy link
Contributor

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.

Add missing documentation on the staticcontent package object, as it'…
…s a more convenient one-liner for hosting static content
@rossabaker
Copy link
Member

rossabaker left a comment

👍 Thanks!

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

This comment has been minimized.

Copy link
@aeons

aeons Apr 3, 2019

Member

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

@rossabaker

This comment has been minimized.

Copy link
Member

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

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
You can’t perform that action at this time.