Skip to content

Commit 22ffe96

Browse files
committed
implement #69: switch to friends42.fr for Paris clustermap
1 parent 157e670 commit 22ffe96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/externalclustermap.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ function openClusterMap(event) {
2020
highlightAfter = true;
2121
break;
2222
case "Paris":
23-
const headerLoginName = getProfileUserName();
24-
url = "https://stud42.fr/clusters/" + headerLoginName;
23+
const cluster = location.split("-")[0]; // e.g. "bess-f2r4s9"
24+
url = "https://friends42.fr/?cluster=" + encodeURIComponent(cluster) + "&p=" + encodeURIComponent(location);
2525
break;
2626
case "Kuala Lumpur":
2727
url = "https://locatepeer.vercel.app/"+location;

0 commit comments

Comments
 (0)