Skip to content

Commit d495bbe

Browse files
committed
Configuration now defaults to production settings, switch to HTTPS
1 parent 68bed92 commit d495bbe

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/app/config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
*/
1717

1818
global.config = {
19-
API_BASE: 'http://localhost:3000/api/v1',
19+
API_BASE: 'https://api.cbcortex.com/api/v1',
2020
API_ROUTES: {
2121
WEBPAGES: '/webpages',
2222
WEBPAGES_FEED: '/webpages/feed'
2323
},
2424
CONTENT_SNIPPETS_EDIT_CSS_URL: 'https://s3.amazonaws.com/cortex-content-snippets/content-snippets-edit.css',
25-
CKEDITOR_PLUGINS_URL: 'http://admin.cbcortex.com/ckeditor-plugins/'
25+
CKEDITOR_PLUGINS_URL: 'https://admin.cbcortex.com/ckeditor-plugins/'
2626
};
2727
}(this));

src/app/main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
$(function() {
55
$('body').prepend( $('<toolbar></toolbar>') );
66
$('body').append( $('<media-library></media-library>') );
7-
$('head').append( $('<link rel="stylesheet" type="text/css" />').attr('href', 'http://fonts.googleapis.com/css?family=Roboto:400,500,700,300,100') );
7+
$('head').append( $('<link rel="stylesheet" type="text/css" />').attr('href', 'https://fonts.googleapis.com/css?family=Roboto:400,500,700,300,100') );
88
$('head').append( $('<link rel="stylesheet" type="text/css" />').attr('href', 'https://fonts.googleapis.com/icon?family=Material+Icons') );
99
$('head').append( $('<link rel="stylesheet" type="text/css" />').attr('href', config.CONTENT_SNIPPETS_EDIT_CSS_URL) );
10-
$.getScript('https://cdn.ckeditor.com/4.5.8/standard/ckeditor.js', function() {
10+
$.getScript('https://cdn.ckeditor.com/4.5.10/standard/ckeditor.js', function() {
1111
global.CKEDITOR.config.autoParagraph = false;
1212
global.CKEDITOR.config.allowedContent = true;
1313
global.CKEDITOR.plugins.addExternal( 'media-selector', global.config.CKEDITOR_PLUGINS_URL + 'media-selector/', 'plugin.js' );

src/app/utility.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
getYoutubeMediaElement = function (media) {
1414
var youtube = document.createElement('iframe');
1515
youtube.setAttribute('type', 'text/html');
16-
youtube.src = 'http://www.youtube.com/embed/' + media.video_id + '?rel=0&amp;enablejsapi=1controls=1&amp;showinfo=0&amp;wmode=transparent';
16+
youtube.src = 'https://www.youtube.com/embed/' + media.video_id + '?rel=0&amp;enablejsapi=1controls=1&amp;showinfo=0&amp;wmode=transparent';
1717
youtube.setAttribute('frameborder', '0');
1818
youtube.style.position = 'absolute';
1919
youtube.style.top = '0';

0 commit comments

Comments
 (0)