@zgfe/modules-page 1.0.1-alpha.8 → 1.0.1-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -165,10 +165,11 @@ var DetailContent = function DetailContent(props) {
|
|
|
165
165
|
url = '';
|
|
166
166
|
var hash = pUrl.match(/#\S*$/) || [''];
|
|
167
167
|
if (hash) pUrl = pUrl.replace(hash[0], '');
|
|
168
|
+
var secret = 'autoTrack-' + getSocketSecret();
|
|
168
169
|
if (/\?/.test(pageUrl)) {
|
|
169
|
-
url = "".concat(pUrl.replace(/\/$/, ''), "&zgSecret=").concat(
|
|
170
|
+
url = "".concat(pUrl.replace(/\/$/, ''), "&zgSecret=").concat(secret).concat(hash);
|
|
170
171
|
} else {
|
|
171
|
-
url = "".concat(pUrl.replace(/\/$/, ''), "?zgSecret=").concat(
|
|
172
|
+
url = "".concat(pUrl.replace(/\/$/, ''), "?zgSecret=").concat(secret).concat(hash);
|
|
172
173
|
}
|
|
173
174
|
return url;
|
|
174
175
|
}, [pageUrl]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-page",
|
|
3
|
-
"version": "1.0.1-alpha.
|
|
3
|
+
"version": "1.0.1-alpha.9",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "dumi dev",
|
|
6
6
|
"docs:build": "dumi build",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"prettier": "^2.2.1",
|
|
51
51
|
"yorkie": "^2.0.0"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "68e794566bd35c0ac1048268f81f5a612e75ae9d"
|
|
54
54
|
}
|