diff --git a/README.md b/README.md
index 6a63488d..c4df6f5b 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
-
+
Statup - Web and App Status Monitoring for Any Type of Project
@@ -13,7 +13,7 @@ An easy to use Status Page for your websites and applications. Statup will autom
Statup strives to remain future-proof and remain intact if a failure is created. Your Statup service should not be running on the same instance you're trying to monitor. If your server crashes your Status Page should still remaining online to notify your users of downtime.
-
+
## Lightweight and Fast
@@ -27,15 +27,15 @@ Statup is built in Go Language so all you need is the precompile binary based on
Statup will allow you to completely customize your Status Page using SASS styling with easy to use variables. The Docker image actually contains a prebuilt SASS binary so you won't even need to setup anything!
-
+
## Mobile View is Gorgeous
Your status page will be optimized for mobile and desktop viewers. Statup has a full width edge to edge view, which you can also edit to meet your requirements.
-
-
+
+
## Run on Any Server
@@ -52,13 +52,13 @@ View the [Plugin Wiki](https://github.com/hunterlong/statup/wiki/Statup-Plugins)
Plugin are created in Golang using the [statup/plugin](https://github.com/hunterlong/statup/tree/master/plugin) golang package. The plugin package has a list of interfaces/events to accept into your own plugin application.
-
+
## Easy to use Dashboard
Having a straight forward dashboard makes Statup that much better. Monitor your websites and applications with a basic HTTP GET request, or add a POST request with your own JSON to post to the endpoint.
-
+
## Exporting Static HTML
diff --git a/handlers/index.go b/handlers/index.go
index 887b3367..c9b8a393 100644
--- a/handlers/index.go
+++ b/handlers/index.go
@@ -11,7 +11,7 @@ type index struct {
}
func IndexHandler(w http.ResponseWriter, r *http.Request) {
- if core.CoreApp == nil {
+ if core.CoreApp.DbConnection == "" {
http.Redirect(w, r, "/setup", http.StatusSeeOther)
return
}