16 lines
297 B
Go
16 lines
297 B
Go
package pages
|
|
|
|
import (
|
|
"embed"
|
|
"net/http"
|
|
)
|
|
|
|
//go:embed templates/*
|
|
var content embed.FS
|
|
|
|
func InitHttpHandlers() {
|
|
http.HandleFunc("/{$}", homepage)
|
|
http.HandleFunc("/.well-known/autoconfig/mail/config-v1.1.xml", emailAutoconfig)
|
|
http.HandleFunc("/mail/config-v1.1.xml", emailAutoconfig)
|
|
}
|