Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit b5f0721

Browse files
vandycknickbtford
authored andcommitted
docs(guide/concepts): use protocol relative URL
When accessing the docs from https, the "Accessing the backend example fails because it contains a hard coded protocol. By making the URL protocol relative, the example should work over http and https.
1 parent f6f469e commit b5f0721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/guide/concepts.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ The following example shows how this is done with Angular:
323323
angular.module('finance3', [])
324324
.factory('currencyConverter', ['$http', function($http) {
325325
var YAHOO_FINANCE_URL_PATTERN =
326-
'http://query.yahooapis.com/v1/public/yql?q=select * from '+
326+
'//query.yahooapis.com/v1/public/yql?q=select * from '+
327327
'yahoo.finance.xchange where pair in ("PAIRS")&format=json&'+
328328
'env=store://datatables.org/alltableswithkeys&callback=JSON_CALLBACK';
329329
var currencies = ['USD', 'EUR', 'CNY'];

0 commit comments

Comments
 (0)