mirror of
https://github.com/GRFreire/nthmail.git
synced 2026-01-09 04:49:39 +00:00
now, there is only one binary that starts both servers, making them use the same SQL connection. this commit also added some `defer tx.Commit()` to ensure all the transactions were closed
24 lines
511 B
Plaintext
24 lines
511 B
Plaintext
package web_server
|
|
|
|
templ index_page() {
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8"/>
|
|
<title>nthmail.xyz</title>
|
|
<meta name="viewport" content="width=device-width,initial-scale=1"/>
|
|
<meta name="description" content="A temporary mail service"/>
|
|
@styles()
|
|
</head>
|
|
<body class="index">
|
|
<h1>nthmail.xyz</h1>
|
|
<p>
|
|
A disposable, temporary and private mail address!
|
|
</p>
|
|
<div class="random">
|
|
<a href="random">Get one now!</a>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
}
|