diff options
| author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2025-01-02 18:03:28 -0800 |
|---|---|---|
| committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2025-01-02 18:03:28 -0800 |
| commit | f1963beac75d13352a08d5918e596b781facbdf8 (patch) | |
| tree | 5d5a1aa0e7a1bec9892813040df58c4c7415c040 /api/api.go | |
| parent | 94dd1ca677c716975d43f323c97ea26f8fd4c962 (diff) | |
| download | something-main.tar.gz something-main.zip | |
Diffstat (limited to 'api/api.go')
| -rw-r--r-- | api/api.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -82,10 +82,10 @@ func MakeMux(argv *args.Arguments, dbConn *sql.DB) *http.ServeMux { mux.HandleFunc("GET /", func(w http.ResponseWriter, r *http.Request) { requestContext := makeRequestContext() - (*requestContext.TemplateData)["Service"] = "something" - templateFile := "hello.html" - LogRequestContinuation(requestContext, r, w)(template.TemplateContinuation(templateFile, true), FailurePassingContinuation)(LogExecutionTimeContinuation, LogExecutionTimeContinuation)(IdContinuation, IdContinuation) + (*requestContext.TemplateData)["Service"] = "something" + templateFile := "hello.html" + LogRequestContinuation(requestContext, r, w)(template.TemplateContinuation(templateFile, true), FailurePassingContinuation)(LogExecutionTimeContinuation, LogExecutionTimeContinuation)(IdContinuation, IdContinuation) }) - return mux + return mux } |
