diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2025-01-03 01:50:07 -0800 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2025-01-03 01:53:19 -0800 |
commit | 5cc70cc65667d40048f274efe0528ed13b189666 (patch) | |
tree | f2d9fbd57505fdf1b238d0b29c1ff4f42529f695 /api | |
parent | f163a242792cd325c9414587d52f3d8584f28df1 (diff) | |
download | phoneof-5cc70cc65667d40048f274efe0528ed13b189666.tar.gz phoneof-5cc70cc65667d40048f274efe0528ed13b189666.zip |
make it a password
Diffstat (limited to 'api')
-rw-r--r-- | api/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -89,7 +89,7 @@ func MakeMux(argv *args.Arguments, dbConn *sql.DB) *http.ServeMux { LogRequestContinuation(requestContext, r, w)(template.TemplateContinuation(templateFile, true), FailurePassingContinuation)(LogExecutionTimeContinuation, LogExecutionTimeContinuation)(IdContinuation, IdContinuation) }) - mux.HandleFunc("GET /chat", func(w http.ResponseWriter, r *http.Request) { + mux.HandleFunc("POST /chat/me", func(w http.ResponseWriter, r *http.Request) { requestContext := makeRequestContext() LogRequestContinuation(requestContext, r, w)(chat.ValidateFren, FailurePassingContinuation)(template.TemplateContinuation("chat.html", true), FailurePassingContinuation)(LogExecutionTimeContinuation, LogExecutionTimeContinuation)(IdContinuation, IdContinuation) }) |