registration

This commit is contained in:
Bel LaPointe
2020-07-24 15:06:49 -06:00
parent d3ac4f5c22
commit 3a69fad9f7
4 changed files with 163 additions and 15 deletions

View File

@@ -31,6 +31,11 @@ func jsonHandler(g storage.Graph) http.Handler {
path: "/who",
foo: who,
},
{
path: "/register",
foo: register,
noauth: true,
},
{
path: config.New().FilePrefix + "/",
foo: files,