diff --git a/src/components/application/InstantBoard.tsx b/src/components/application/InstantBoard.tsx index 3306eed8..f0bf4d8c 100644 --- a/src/components/application/InstantBoard.tsx +++ b/src/components/application/InstantBoard.tsx @@ -1,17 +1,28 @@ import React from 'react'; export function InstantBoard() { + const oldURL = new URL(window.location.href); + const newHostname = oldURL.hostname.replace('-old', ''); + const newURL = `${oldURL.protocol}//${newHostname}${oldURL.port ? `:${oldURL.port}` : ''}`; + return (
CodePair v2 is released! 🎉 You can now share your code with your friends and code together in real-time.
++ Visit + {newURL} + to start coding together. +