forked from trent_larson/crowd-funder-for-time-pwa
chore: update utilities and configuration for ActiveDid migration
- Update utility functions for new active_identity table structure - Modify Vite configuration for improved build process - Add support for new API endpoints and data structures
This commit is contained in:
@@ -19,6 +19,12 @@ export async function createBuildConfig(platform: string): Promise<UserConfig> {
|
||||
|
||||
// Set platform - PWA is always enabled for web platforms
|
||||
process.env.VITE_PLATFORM = platform;
|
||||
|
||||
// Set development API servers for local development
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
process.env.VITE_DEFAULT_ENDORSER_API_SERVER = 'http://localhost:3000';
|
||||
process.env.VITE_DEFAULT_PARTNER_API_SERVER = 'http://localhost:3000';
|
||||
}
|
||||
|
||||
return {
|
||||
base: "/",
|
||||
|
||||
Reference in New Issue
Block a user