Browse Source

added uploads directory.

master
sp 4 years ago
parent
commit
14f2802ad3
3 changed files with 3 additions and 0 deletions
  1. +1
    -0
      .gitignore
  2. +1
    -0
      config.go
  3. +1
    -0
      config.json

+ 1
- 0
.gitignore View File

/apiv1 /apiv1
/uploads/

+ 1
- 0
config.go View File

TlsKey string TlsKey string
Static []configStaticHtml Static []configStaticHtml
Debug bool Debug bool
Uploads string
Session struct { //TODO: figure what is this intended for Session struct { //TODO: figure what is this intended for
Guest bool Guest bool
Year int //how many years Year int //how many years

+ 1
- 0
config.json View File

"TlsCert": "/home/sp/go/src/fullchain.pem", "TlsCert": "/home/sp/go/src/fullchain.pem",
"TlsKey": "/home/sp/go/src/privkey.pem", "TlsKey": "/home/sp/go/src/privkey.pem",
"Debug": true, "Debug": true,
"Uploads": "./uploads/",
"Static": [ "Static": [
{ {
"Dir": "./html/", "Dir": "./html/",

Loading…
Cancel
Save