Merge pull request #586 from metamaps/merge/master-into-develop

merge master into develop
This commit is contained in:
Devin Howard 2016-08-04 10:53:00 +08:00 committed by GitHub
commit 52cbd57367
3 changed files with 2 additions and 3 deletions

View file

@ -20,6 +20,7 @@ Metamaps.Erb['icons/wildcard.png'] = '<%= asset_path('icons/wildcard.png') %>'
Metamaps.Erb['topic_description_signifier.png'] = '<%= asset_path('topic_description_signifier.png') %>' Metamaps.Erb['topic_description_signifier.png'] = '<%= asset_path('topic_description_signifier.png') %>'
Metamaps.Erb['topic_link_signifier.png'] = '<%= asset_path('topic_link_signifier.png') %>' Metamaps.Erb['topic_link_signifier.png'] = '<%= asset_path('topic_link_signifier.png') %>'
Metamaps.Erb['synapse16.png'] = '<%= asset_path('synapse16.png') %>' Metamaps.Erb['synapse16.png'] = '<%= asset_path('synapse16.png') %>'
Metamaps.Metacodes = <%= Metacode.all.to_json.gsub(%r[(icon.*?)(\"},)], '\1?purple=stupid\2').html_safe %>
Metamaps.Settings = { Metamaps.Settings = {
embed: false, // indicates that the app is on a page that is optimized for embedding in iFrames on other web pages embed: false, // indicates that the app is on a page that is optimized for embedding in iFrames on other web pages

View file

@ -7,7 +7,6 @@
<% else %> <% else %>
Metamaps.Active.Mapper = null; Metamaps.Active.Mapper = null;
<% end %> <% end %>
Metamaps.Metacodes = <%= Metacode.all.to_json.html_safe %>;
Metamaps.Loading = { Metamaps.Loading = {
loader: new CanvasLoader('loading'), loader: new CanvasLoader('loading'),

View file

@ -69,8 +69,7 @@ Run this in the metamaps directory, still as metamaps:
#### Nginx and SSL #### Nginx and SSL
Now set up nginx - config stored on Linode, including relevant Now set up nginx - config stored on Linode, including relevant environment variables.
environment variables.
Get an SSL certificate and encrypt it for the realtime video. Get an SSL certificate and encrypt it for the realtime video.