forked from trent_larson/crowd-funder-for-time-pwa
Remove PROD_SHARE_DOMAIN constant and unify domain configuration
- Remove hard-coded PROD_SHARE_DOMAIN from src/constants/app.ts - Update all sharing functionality to use environment-specific APP_SERVER - Rewrite domain configuration documentation to reflect unified approach - Simplify domain management with single APP_SERVER constant - Update README.md examples to use APP_SERVER for all URL generation This change eliminates the complexity of separate constants for different URL types and provides consistent environment-specific configuration for all functionality including sharing.
This commit is contained in:
@@ -47,9 +47,6 @@ export const DEFAULT_PARTNER_API_SERVER =
|
||||
export const DEFAULT_PUSH_SERVER =
|
||||
import.meta.env.VITE_DEFAULT_PUSH_SERVER || AppString.PROD_PUSH_SERVER;
|
||||
|
||||
// Production domain for sharing links (always use production URL for sharing)
|
||||
export const PROD_SHARE_DOMAIN = AppString.PROD_PUSH_SERVER;
|
||||
|
||||
export const IMAGE_TYPE_PROFILE = "profile";
|
||||
|
||||
export const PASSKEYS_ENABLED =
|
||||
|
||||
Reference in New Issue
Block a user