From f97952bf0183df6bec29fc369acb2c0f877b7554 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 13 Nov 2010 13:11:09 -0500 Subject: [PATCH] Rename RunFrontEnd to be RunBackEnd. --- src/main.go | 2 +- src/server.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.go b/src/main.go index 27b1da1..6c63faf 100644 --- a/src/main.go +++ b/src/main.go @@ -36,5 +36,5 @@ func main() { configuration.Port = *port fmt.Printf("Starting Armadillo on port %d with root:\n %v\n", *port, paths.JailRoot) - server.RunFrontEnd(configuration) + server.RunBackEnd(configuration) } diff --git a/src/server.go b/src/server.go index b86c1ae..4f500d0 100644 --- a/src/server.go +++ b/src/server.go @@ -153,7 +153,7 @@ func okResponse(connection *http.Conn, data interface{}) { } } -func RunFrontEnd(config *config.Configuration) { +func RunBackEnd(config *config.Configuration) { mux := http.NewServeMux() mux.HandleFunc("/", indexHandler) mux.Handle("/fe/", http.FileServer(kFrontEndFiles, "/fe/")) -- 2.22.5