Selaa lähdekoodia

added uploads directory.

master
sp 4 vuotta sitten
vanhempi
commit
14f2802ad3
3 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. +1
    -0
      .gitignore
  2. +1
    -0
      config.go
  3. +1
    -0
      config.json

+ 1
- 0
.gitignore Näytä tiedosto

@@ -1 +1,2 @@
/apiv1
/uploads/

+ 1
- 0
config.go Näytä tiedosto

@@ -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

+ 1
- 0
config.json Näytä tiedosto

@@ -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/",

Loading…
Peruuta
Tallenna