Add example of disabling search engine indexing in beta
This commit is contained in:
parent
77c3e58de3
commit
ca00365dde
|
@ -9,6 +9,15 @@
|
|||
respond "{\"m.server\": \"matrix.handmade.network:443\"}"
|
||||
header Content-Type application/json
|
||||
}
|
||||
# Uncomment this ONLY FOR BETA!
|
||||
# It disables all search engine indexing!
|
||||
# If you do this on the real site you will destroy all the site's SEO!
|
||||
# ONLY UNCOMMENT THIS IN BETA!
|
||||
# handle /robots.txt {
|
||||
# respond "User-agent: *
|
||||
# Disallow: /
|
||||
# "
|
||||
# }
|
||||
handle /public/* {
|
||||
file_server {
|
||||
root /home/hmn/hmn
|
||||
|
|
|
@ -596,6 +596,7 @@ func CreateMessageSnippets(ctx context.Context, dbConn db.ConnOrTx, msgIDs ...st
|
|||
if err == db.NotFound {
|
||||
logging.ExtractLogger(ctx).Warn().
|
||||
Str("messageID", msgID).
|
||||
Stack().
|
||||
Msg("No record was found for this Discord message at all. Weird.")
|
||||
continue
|
||||
} else if err != nil {
|
||||
|
|
Loading…
Reference in New Issue