Permalink
Browse files

Merge pull request #1 from janhebnes/patch-1

Using Configuration.Domain in EmbedCode
  • Loading branch information...
2 parents 1281e20 + 2562256 commit cdd5d8fb2252e261e07f7c6dadd7150377394f35 @nickbruun nickbruun committed Dec 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/VisualSharepoint/WebPartCode/Utilities.cs
@@ -29,7 +29,7 @@ public static IApiProvider ApiProvider
/// </summary>
public static string EmbedCode(string photoId, string photoToken, int width, int? height)
{
- string domain = ConfigurationSettings.AppSettings["TwentythreeDomain"];
+ string domain = Configuration.Domain;
string widthString = width.ToString();
string heightString = (height == null ? Math.Round(width / 16.0 * 9.0).ToString() : height.Value.ToString());

0 comments on commit cdd5d8f

Please sign in to comment.