Skip to content

Commit

Permalink
Made it so dev compendium hosting witll use the dev datastore, too. P…
Browse files Browse the repository at this point in the history
…art of #25.
  • Loading branch information
jkomoros committed Dec 25, 2018
1 parent b4028b1 commit 652cb46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
//Deliberately only do devmode if the host is localhost. If you want it
//in local mode, just do 127.0.0.1 instead.
if (location.hostname == 'localhost') DEV_MODE = true;
if (location.hostname.indexOf('dev-') >= 0) DEV_MODE = true;
if (DEV_MODE) {
config = {
apiKey: "AIzaSyAMJMN0rfauE1fNmZtSktR1c9pOhjbj5wM",
Expand Down

0 comments on commit 652cb46

Please sign in to comment.