Skip to content

Commit

Permalink
fix: run caddy fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Jun 1, 2023
1 parent 01e6f3b commit 9f28716
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions Caddyfile
Expand Up @@ -32,15 +32,16 @@ route {
{$MERCURE_EXTRA_DIRECTIVES}
}

header / Content-Type "text/html; charset=utf-8"
respond / `<!DOCTYPE html>
<html lang=en>
<meta charset="utf-8">
<meta name="robots" content="noindex">
<title>Welcome to Mercure</title>
<h1>Welcome to Mercure</h1>
<p>The URL of your hub is <code>/.well-known/mercure</code>.
Read the documentation on <a href="https://mercure.rocks">Mercure.rocks, real-time apps made easy</a>.`
header / Content-Type "text/html; charset=utf-8"
respond / `<!DOCTYPE html>
<html lang=en>
<meta charset="utf-8">
<meta name="robots" content="noindex">
<title>Welcome to Mercure</title>
<h1>Welcome to Mercure</h1>
<p>The URL of your hub is <code>/.well-known/mercure</code>.
Read the documentation on <a href="https://mercure.rocks">Mercure.rocks, real-time apps made easy</a>.`

respond /healthz 200
respond "Not Found" 404
}

0 comments on commit 9f28716

Please sign in to comment.