Skip to content

Commit 6b6f100

Browse files
authored
Update README.md
1 parent d6635f4 commit 6b6f100

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ http.createServer(function (req, res) {
5555
// Заполняем счётчик данными (referer, ip и ua) из запроса к серверу.
5656
counter.req(req);
5757

58-
// Страница http://example.com, с заголовком 'Main page'
59-
// переход был с реферером http://othersite.com
60-
counter.hit('http://example.com', 'Main page', 'http://othersite.com');
58+
// Страница https://example.com, с заголовком 'Main page'
59+
// переход был с реферером https://othersite.com
60+
counter.hit('https://example.com', 'Main page', 'https://othersite.com');
6161
}).listen(8080);
6262
```
6363

@@ -72,10 +72,10 @@ http.createServer(function (req, res) {
7272
*
7373
* @returns {Object} this
7474
*/
75-
counter.hit('http://mysite.org', 'Main page', 'http://google.com/...');
75+
counter.hit('https://mysite.org', 'Main page', 'https://google.com/...');
7676

7777
// С запретом на индексирование и параметрами визитов
78-
counter.hit('http://mysite.org', 'Main page', 'http://google.com/...', {level1: {level2: 1}}, 'noindex');
78+
counter.hit('https://mysite.org', 'Main page', 'https://google.com/...', {level1: {level2: 1}}, 'noindex');
7979
```
8080

8181
## Достижение цели
@@ -105,7 +105,7 @@ counter.reachGoal('goalName', {level1: {level2: 1}});
105105
*
106106
* @returns {Object} this
107107
*/
108-
counter.extLink('http://nodejs.org');
108+
counter.extLink('https://nodejs.org');
109109
```
110110

111111
## Загрузка файла
@@ -116,7 +116,7 @@ counter.extLink('http://nodejs.org');
116116
*
117117
* @returns {Object} this
118118
*/
119-
counter.file('http://mysite.org/secret.zip');
119+
counter.file('https://mysite.org/secret.zip');
120120
```
121121

122122
## Параметры визитов

0 commit comments

Comments
 (0)