diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-05-13 17:20:40 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-05-13 17:22:28 -0400 |
commit | d6fbc25111a9a76b40f19b2481428a9170c706b0 (patch) | |
tree | d071366939de7a6994c56153f81b16e836883043 /main.go | |
parent | 9d31e04f8ec8c53c6f6e2323d7422b86b7a4ad90 (diff) | |
download | getwtxt-d6fbc25111a9a76b40f19b2481428a9170c706b0.tar.gz |
serving css virtually instead of directly
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main.go b/main.go index bca7847..8e3a2b2 100644 --- a/main.go +++ b/main.go @@ -24,6 +24,9 @@ func main() { index.Path("/"). Methods("GET"). HandlerFunc(indexHandler) + index.Path("/css"). + Methods("GET"). + HandlerFunc(cssHandler) index.Path("/api"). Methods("GET"). HandlerFunc(apiBaseHandler) |