| @@ -1 +1,2 @@ | |||
| /apiv1 | |||
| /uploads/ | |||
| @@ -21,6 +21,7 @@ type configuration struct { | |||
| TlsKey string | |||
| Static []configStaticHtml | |||
| Debug bool | |||
| Uploads string | |||
| Session struct { //TODO: figure what is this intended for | |||
| Guest bool | |||
| Year int //how many years | |||
| @@ -5,6 +5,7 @@ | |||
| "TlsCert": "/home/sp/go/src/fullchain.pem", | |||
| "TlsKey": "/home/sp/go/src/privkey.pem", | |||
| "Debug": true, | |||
| "Uploads": "./uploads/", | |||
| "Static": [ | |||
| { | |||
| "Dir": "./html/", | |||