mirror of
https://tildegit.org/solderpunk/molly-brown.git
synced 2025-04-13 09:29:46 +00:00
Remove vestigial generic response code.
This commit is contained in:
parent
79dd948a9f
commit
5fdb3622e9
1 changed files with 0 additions and 5 deletions
|
@ -192,11 +192,6 @@ func handleGeminiRequest(conn net.Conn, config Config, logEntries chan LogEntry)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
|
||||||
// Generic response
|
|
||||||
conn.Write([]byte("20 text/gemini\r\n"))
|
|
||||||
body := fmt.Sprintf("Molly at %s says \"Hi!\" from %s.\n", URL.Host, URL.Path)
|
|
||||||
conn.Write([]byte(body))
|
|
||||||
log.Status = 20
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func generateDirectoryListing(path string) string {
|
func generateDirectoryListing(path string) string {
|
||||||
|
|
Loading…
Add table
Reference in a new issue