Page MenuHomePhabricator

D11839.id39684.diff
No OneTemporary

D11839.id39684.diff

diff --git a/lib/facts/links.js b/lib/facts/links.js
--- a/lib/facts/links.js
+++ b/lib/facts/links.js
@@ -1,7 +1,12 @@
// @flow
+import { isDev } from '../utils/dev-utils.js';
+
/* Invite Links */
function inviteLinkURL(secret: string): string {
+ if (isDev) {
+ return `http://localhost:3000/invite/${secret}`;
+ }
return `https://comm.app/invite/${secret}`;
}

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 3:57 AM (21 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2536666
Default Alt Text
D11839.id39684.diff (380 B)

Event Timeline