Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33120238
D11839.1768490376.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
380 B
Referenced Files
None
Subscribers
None
D11839.1768490376.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
Thu, Jan 15, 3:19 PM (6 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5938547
Default Alt Text
D11839.1768490376.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