Skip to content

Commit

Permalink
Using Configuration.Domain in EmbedCode
Browse files Browse the repository at this point in the history
  • Loading branch information
janhebnes committed Dec 14, 2011
1 parent 1281e20 commit 2562256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VisualSharepoint/WebPartCode/Utilities.cs
Expand Up @@ -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());

Expand Down

0 comments on commit 2562256

Please sign in to comment.