Skip to content

Commit

Permalink
Point to http instead of https for stencil editor sdk.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cody Lundquist authored and mcampa committed Oct 14, 2015
1 parent dabe84f commit 0a9acf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/plugins/Renderer/responses/pencilResponse.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ internals.makeDecorator = function (request, context) {
}

if (request.query.stencilEditor || request.state.stencil_editor_enabled) {
stencilEditorSDK = '<script src="https://localhost:8181/public/jspm_packages/github/meenie/jschannel@0.0.5/src/jschannel.js"></script>';
stencilEditorSDK += '<script src="https://localhost:8181/public/js/stencil-editor.js"></script>';
stencilEditorSDK = '<script src="http://localhost:8181/public/jspm_packages/github/meenie/jschannel@0.0.5/src/jschannel.js"></script>';
stencilEditorSDK += '<script src="http://localhost:8181/public/js/stencil-editor.js"></script>';

content = content.replace(new RegExp('</body>'), stencilEditorSDK + '\n</body>');
}
Expand Down

0 comments on commit 0a9acf6

Please sign in to comment.