Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1 from janhebnes/patch-1

Using Configuration.Domain in EmbedCode
  • Loading branch information...
commit cdd5d8fb2252e261e07f7c6dadd7150377394f35 2 parents 1281e20 + 2562256
@nickbruun nickbruun authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/VisualSharepoint/WebPartCode/Utilities.cs
View
2  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());
Please sign in to comment.
Something went wrong with that request. Please try again.