Skip to content

Commit

Permalink
fixes issue VulcanJS#1
Browse files Browse the repository at this point in the history
  • Loading branch information
lc3t35 committed Jun 15, 2018
1 parent 1db65d8 commit 9bb0351
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/modules/headtags.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { Headtags, getSetting } from 'meteor/vulcan:core';
import { Head, getSetting } from 'meteor/vulcan:core';

const googlemaps = getSetting('googlemaps');

if (googlemaps && googlemaps.apiKey) {

Headtags.script.push({
Head.script.push({
type: 'text/javascript',
src: `https://maps.googleapis.com/maps/api/js?key=${googlemaps.apiKey}&libraries=places`
});

}
}

0 comments on commit 9bb0351

Please sign in to comment.