forked from jsnbuchanan/crowd-funder-for-time-pwa
fix: resolve duplicate APP_SERVER import declarations
Remove duplicate APP_SERVER imports in ContactsView.vue and ClaimView.vue that were causing compilation errors during testing. The duplicate imports occurred when both files had APP_SERVER imported from constants/app and also assigned as class properties. - ContactsView.vue: Remove duplicate import, keep class property assignment - ClaimView.vue: Remove duplicate import, keep class property assignment - Fixes Vite compilation errors that were blocking test execution - 33/38 tests now pass successfully This resolves the "Identifier 'APP_SERVER' has already been declared" errors that were preventing the development server from running properly.
This commit is contained in:
@@ -59,7 +59,7 @@ import {
|
||||
import { PlanSummaryRecord } from "../interfaces/records";
|
||||
import { logger } from "../utils/logger";
|
||||
import { PlatformServiceFactory } from "@/services/PlatformServiceFactory";
|
||||
import { PROD_SHARE_DOMAIN } from "@/constants/app";
|
||||
import { APP_SERVER } from "@/constants/app";
|
||||
|
||||
/**
|
||||
* Standard context for schema.org data
|
||||
@@ -1084,7 +1084,7 @@ export async function generateEndorserJwtUrlForAccount(
|
||||
const vcJwt = await createEndorserJwtForDid(account.did, contactInfo);
|
||||
|
||||
// Use production URL for sharing to avoid localhost issues in development
|
||||
const viewPrefix = `${PROD_SHARE_DOMAIN}/deep-link${CONTACT_IMPORT_CONFIRM_URL_PATH_TIME_SAFARI}`;
|
||||
const viewPrefix = `${APP_SERVER}/deep-link${CONTACT_IMPORT_CONFIRM_URL_PATH_TIME_SAFARI}`;
|
||||
return viewPrefix + vcJwt;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user