33 lines
No EOL
1.1 KiB
HTML
33 lines
No EOL
1.1 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>go-doc · frontend not built</title>
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
display: grid;
|
|
place-items: center;
|
|
background: #0b0f14;
|
|
color: #cbd5e1;
|
|
font: 16px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
}
|
|
main { max-width: 46rem; padding: 3rem; }
|
|
h1 { color: #f8fafc; font-size: 1.6rem; }
|
|
code { color: #7dd3fc; }
|
|
ul { padding-left: 1.2rem; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<h1>go-doc API is running</h1>
|
|
<p>This is the placeholder page shipped with the Go binary. The React bundle has not been compiled into it yet.</p>
|
|
<ul>
|
|
<li>Run <code>make frontend-run</code> for the Vite dev server on port 5173.</li>
|
|
<li>Run <code>make build</code> to embed the production bundle into the binary.</li>
|
|
</ul>
|
|
<p>API: <code>/api/health</code> · <code>/api/docs</code> · <code>/api/docs/{slug}</code> · <code>/api/docs/{slug}/comments</code></p>
|
|
</main>
|
|
</body>
|
|
</html> |