diff --git a/app/views/layouts/darkswarm.html.haml b/app/views/layouts/darkswarm.html.haml index d3f0a78087..6998b99ed7 100644 --- a/app/views/layouts/darkswarm.html.haml +++ b/app/views/layouts/darkswarm.html.haml @@ -13,7 +13,7 @@ %link{href: "https://fonts.googleapis.com/css?family=Roboto:400,300italic,400italic,300,700,700italic|Oswald:300,400,700", rel: "stylesheet", type: "text/css"} = yield :scripts - %script{src: "//maps.googleapis.com/maps/api/js?libraries=places,geometry"} + %script{src: "//maps.googleapis.com/maps/api/js?libraries=places,geometry&key=#{ENV['GOOGLE_MAPS_API_KEY']}"} = split_stylesheet_link_tag "darkswarm/all" = javascript_include_tag "darkswarm/all" diff --git a/config/application.yml.example b/config/application.yml.example index 0b1871466b..b3b21c39ad 100644 --- a/config/application.yml.example +++ b/config/application.yml.example @@ -21,3 +21,5 @@ CURRENCY: AUD # # DISCOURSE_URL must be the URL of your Discourse instance. #DISCOURSE_URL: "https://noticeboard.openfoodnetwork.org.au" + +GOOGLE_MAPS_API_KEY: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx