13 lines
242 B
Go
13 lines
242 B
Go
package server
|
|
|
|
import (
|
|
"dns_service/api"
|
|
"net/http"
|
|
)
|
|
|
|
func Configure() {
|
|
http.Handle("/", api.SpaHandler(http.FS(api.Frontend)))
|
|
http.HandleFunc("/api/settings", api.Settings)
|
|
http.HandleFunc("/api/settings/file", api.SettingsFile)
|
|
}
|