Преглед на файлове

added uploads directory.

master
sp преди 5 години
родител
ревизия
14f2802ad3
променени са 3 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. +1
    -0
      .gitignore
  2. +1
    -0
      config.go
  3. +1
    -0
      config.json

+ 1
- 0
.gitignore Целия файл

/apiv1 /apiv1
/uploads/

+ 1
- 0
config.go Целия файл

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 Целия файл

"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…
Отказ
Запис