From 95a2a1707d85a01b4939f3a622b2117cd8b0db89 Mon Sep 17 00:00:00 2001 From: "Schmitt, Max" Date: Thu, 9 Nov 2017 09:44:20 +0100 Subject: [PATCH] fixed broken CI build --- README.md | 4 ++-- handlers/handlers.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4eb50a1..e5abe93 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ - URL Shortening - Visitor Counting -- Expireable Links +- Expirable Links - URL deletion - Authorization System via OAuth 2.0 from Google (more providers following) - High performance database with [bolt](https://github.com/boltdb/bolt) @@ -31,7 +31,7 @@ TODO ## Configuration -The configuration is a JSON file, an example is located [here](build/config.json). If your editor supports intellisense by using a schema (e.g. [VS Code](https://github.com/Microsoft/vscode)) then you can simply press space for auto completion. The config parameters should be really selfexplaning, but [here](build/schema.md) is a detailed description for all of these: +The configuration is a JSON file, an example is located [here](build/config.json). If your editor supports intellisense by using a schema (e.g. [VS Code](https://github.com/Microsoft/vscode)) then you can simply press space for auto completion. The config parameters should be really self explaining, but [here](build/schema.md) is a detailed description for all of these: ## OAuth diff --git a/handlers/handlers.go b/handlers/handlers.go index 41a5d74..1572526 100644 --- a/handlers/handlers.go +++ b/handlers/handlers.go @@ -72,7 +72,7 @@ func (h *Handler) checkIfSecretExist() error { } func (h *Handler) setHandlers() error { - if !h.config.EnableGinDebugMode { + if !h.config.EnableDebugMode { gin.SetMode(gin.ReleaseMode) } protected := h.engine.Group("/api/v1/protected")