Fix JSON HTML content sending, according to new tests
[shpub.git] / src / shpub / Config.php
index c9ebb4d783655e1d1544286be2b86f47a5b612fd..2ca7d9adeea3c376196ebe0972fd313d53879ba0 100644 (file)
@@ -88,7 +88,7 @@ class Config
         }
         foreach ($this->hosts as $key => $host) {
             if ($host->default) {
-                return $host;
+                return $key;
             }
         }