1
0
Fork 0

Obey the prefix

This commit is contained in:
Gregory Eremin 2015-03-07 00:30:47 +07:00
parent e0c2cb47be
commit 9e00ad1c15
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"app_domain": "localhost", "app_domain": "localhost",
"database_uri": "root@/empact?parseTime=true", "app_database_uri": "root@/empact?parseTime=true",
"github_auth_url": "https://github.com/login/oauth/authorize", "github_auth_url": "https://github.com/login/oauth/authorize",
"github_access_token_url": "https://github.com/login/oauth/access_token", "github_access_token_url": "https://github.com/login/oauth/access_token",
"github_client_id": "XXXXXXXXXXXXXXXXXXXX", "github_client_id": "XXXXXXXXXXXXXXXXXXXX",

View File

@ -11,7 +11,7 @@ import (
type ( type (
Config struct { Config struct {
Domain string `json:"app_domain"` Domain string `json:"app_domain"`
DatabaseURI string `json:"database_uri"` DatabaseURI string `json:"app_database_uri"`
AuthURL string `json:"github_auth_url"` AuthURL string `json:"github_auth_url"`
AccessTokenURL string `json:"github_access_token_url"` AccessTokenURL string `json:"github_access_token_url"`
ClientID string `json:"github_client_id"` ClientID string `json:"github_client_id"`