Skip to content

Commit

Permalink
Fix performance for metadata url (#3274)
Browse files Browse the repository at this point in the history
  • Loading branch information
abiisnn committed May 2, 2023
1 parent cac7a9b commit b48bf36
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,8 @@ public static ICapabilityStatementBuilder Create(IModelInfoProvider modelInfoPro

statement.FhirVersion = modelInfoProvider.SupportedVersion.VersionString;
statement.Date = ProductVersionInfo.CreationTime.ToString("O");
statement.Url = urlResolver.ResolveMetadataUrl(false);

Uri baseUri = new Uri(urlResolver.ResolveMetadataUrl(false).ToString());
statement.Url = new Uri(baseUri, "metadata");
return new CapabilityStatementBuilder(statement, modelInfoProvider, searchParameterDefinitionManager, configuration, supportedProfiles);
}

Expand Down

0 comments on commit b48bf36

Please sign in to comment.