-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.js
More file actions
28 lines (26 loc) · 1.23 KB
/
Copy pathconfig.js
File metadata and controls
28 lines (26 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
const isCapacitor = !!window.Capacitor;
const isLocal = window.location.hostname === "localhost" || window.location.hostname === "127.0.0.1" || isCapacitor;
// Use the current origin for OAuth redirects so localhost testing redirects back to localhost
const redirectUrl = window.location.origin + window.location.pathname;
window.SIGNAL_SHARE_CONFIG = {
supabaseUrl: "https://gswptxeikjmihdjxoiar.supabase.co",
supabaseAnonKey: "sb_publishable_gIwGxzf1C4cD55l9XS16wg_Qn-LuYqT",
authRedirectUrl: redirectUrl,
postsTable: "posts",
storageBucket: "media",
webPushPublicKey: "",
notificationFunctionName: "send-message-notification",
spotifyPreviewFunctionName: "spotify-preview-metadata",
socialConnectFunctionName: "social-connect",
socialPublishFunctionName: "social-publish",
adminEmails: ["falabellamichael@gmail.com", "falabellasocials@gmail.com"],
masterAdminEmails: ["falabellamichael@gmail.com"],
};
// HERO MEDIA PLAYER - Enable Media-Youtube/Spotify Toggle Mode
window.SIGNAL_SHARE_HERO_PLAYER_CONFIG = {
heroControlMode: "media", // Required for toggle mode preview
heroMediaSource: null, // Dynamically set based on YouTube or Spotify active
heroControlSource: null,
desktopSnapshotEndpoint: "",
bridgeSecret: null,
};