Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3301767
D11839.id39684.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
380 B
Referenced Files
None
Subscribers
None
D11839.id39684.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D11839: [lib] Display a dev prefix for dev invite links
Attached
Detach File
Event Timeline
Log In to Comment