Skip to content

Commit

Permalink
Merge pull request gdg-x#30 from stefanhoth/patch-1
Browse files Browse the repository at this point in the history
Change default scope from "devfest" to "wtm"
  • Loading branch information
friedger committed Mar 3, 2015
2 parents 74a556d + 2e6f330 commit f7aa5af
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ angular.module('fireflyApp', [
$rootScope.all = window.location.search.indexOf("all") >= 0;
$rootScope.prefix = window.location.hostname.replace(".gdg.events","");

if($rootScope.prefix == window.location.hostname )
$rootScope.prefix = "devfest";
if($rootScope.prefix == window.location.hostname ) {
$rootScope.prefix = "wtm";
}

if($rootScope.prefix) {
$http.jsonp('https://hub.gdgx.io/api/v1/tags/'+ $rootScope.prefix+'?callback=JSON_CALLBACK')
Expand Down

0 comments on commit f7aa5af

Please sign in to comment.