Compare commits

..

1 Commits

Author SHA1 Message Date
willyb321
0887429665 New URL Shortener
eddp.co shortened links are considered End-Of-Life from now on
2018-06-13 11:06:37 +10:00
3 changed files with 2 additions and 11 deletions

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "coriolis_shipyard",
"version": "2.9.17",
"version": "2.9.16",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "coriolis_shipyard",
"version": "2.9.17",
"version": "2.9.16",
"repository": {
"type": "git",
"url": "https://github.com/EDCD/coriolis"

View File

@@ -258,15 +258,6 @@ Route.prototype.match = function(path, params) {
* @param {string} path Path to track
*/
function gaTrack(path) {
const match = path.match(/\/outfit\/(.*)(\?code=.*)/);
if (match) {
if (match[1]) {
ReactGA.ga('set', 'contentGroup1', match[1]);
}
if (match[2]) {
ReactGA.ga('set', 'contentGroup2', match[2]);
}
}
ReactGA.pageview(path);
}