From 137fc08054246fd72f26d458a30b843b00546eff Mon Sep 17 00:00:00 2001 From: dovholuknf <46322585+dovholuknf@users.noreply.github.com> Date: Wed, 29 Nov 2023 17:14:56 -0500 Subject: [PATCH] publicDir -> location --- common/zac/handler.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/zac/handler.go b/common/zac/handler.go index f7f93864b..435068993 100644 --- a/common/zac/handler.go +++ b/common/zac/handler.go @@ -117,7 +117,7 @@ func (h *spaHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { } // Returns a request handler (http.Handler) that serves a single -// page application from a given public directory (publicDir). -func SpaHandler(publicDir string, contextRoot string, indexFile string) http.Handler { - return &spaHandler{publicDir, contextRoot, indexFile} +// page application from a given public directory (location). +func SpaHandler(location string, contextRoot string, indexFile string) http.Handler { + return &spaHandler{location, contextRoot, indexFile} }