Skip to content

Commit

Permalink
Made hostname in js dynamic.
Browse files Browse the repository at this point in the history
#kaylee
  • Loading branch information
caleboau2012 committed May 20, 2017
1 parent 3eb54ac commit 32fdd77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/constants.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Created by user on 1/28/2015.
*/
var host = "http://localhost/pms/";
var host = location.protocol + "//" + location.hostname + "/pms/";

function printElem(title, body, footer){
console.log({
Expand Down

0 comments on commit 32fdd77

Please sign in to comment.