Browse Source

Mirror change

tags/v1.2.0-rc1
Unknown 11 years ago
parent
commit
006c45e21d
3 changed files with 6 additions and 3 deletions
  1. +5
    -2
      conf/app.ini
  2. +1
    -1
      gogs.go
  3. BIN
      public/img/favicon.png

+ 5
- 2
conf/app.ini View File

@@ -18,8 +18,11 @@ DOMAIN = localhost
ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/ ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/
HTTP_ADDR = HTTP_ADDR =
HTTP_PORT = 3000 HTTP_PORT = 3000
CERT_FILE = cert.pem
KEY_FILE = key.pem
; Generate steps:
; $ cd path/to/gogs/custom/https
; $ go run $GOROOT/src/pkg/crypto/tls/generate_cert.go -ca=true -duration=8760h0m0s -host=myhost.example.com
CERT_FILE = custom/https/cert.pem
KEY_FILE = custom/https/key.pem


[database] [database]
; Either "mysql", "postgres" or "sqlite3", it's your choice ; Either "mysql", "postgres" or "sqlite3", it's your choice


+ 1
- 1
gogs.go View File

@@ -19,7 +19,7 @@ import (
// Test that go1.2 tag above is included in builds. main.go refers to this definition. // Test that go1.2 tag above is included in builds. main.go refers to this definition.
const go12tag = true const go12tag = true


const APP_VER = "0.3.0.0419 Alpha"
const APP_VER = "0.3.0.0420 Alpha"


func init() { func init() {
base.AppVer = APP_VER base.AppVer = APP_VER


BIN
public/img/favicon.png View File

Before After
Width: 140  |  Height: 140  |  Size: 7.3 kB Width: 192  |  Height: 190  |  Size: 15 kB

Loading…
Cancel
Save