Skip to content

Commit

Permalink
fixing location.host
Browse files Browse the repository at this point in the history
  • Loading branch information
doowb committed Feb 5, 2014
1 parent d4ff80b commit 67243e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

'use strict';

var staticPath = (window.location.indexOf('doowb.github') > -1) ? '/angular-pusher/' : '/';
var staticPath = (window.location.host.indexOf('doowb.github') > -1) ? '/angular-pusher/' : '/';

angular.module('myApp', [
'ngRoute', 'ngSanitize', 'ngTouch', //additional angular modules
Expand Down

0 comments on commit 67243e0

Please sign in to comment.