瀏覽代碼

added uploads directory.

master
sp 4 年之前
父節點
當前提交
14f2802ad3
共有 3 個檔案被更改,包括 3 行新增0 行删除
  1. +1
    -0
      .gitignore
  2. +1
    -0
      config.go
  3. +1
    -0
      config.json

+ 1
- 0
.gitignore 查看文件

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

+ 1
- 0
config.go 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存