Skip to content

Commit

Permalink
renaming endpoint to endpointurl because that's what it specifically is
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarr5 committed Nov 21, 2014
1 parent dc49315 commit 437b0c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions NBlog.Web/Application/Storage/Azure/AzureBlobRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ private CloudBlobContainer GetBlobContainer<TEntity>()
else
{
var uri = blob.Uri.AbsoluteUri;
var blobEndpoint = ConfigurationManager.ConnectionStrings["AzureBlobEndpoint"].ConnectionString;
var cdnEndpoint = ConfigurationManager.ConnectionStrings["AzureCDNEndpoint"].ConnectionString;
var blobEndpoint = ConfigurationManager.ConnectionStrings["AzureBlobEndpointURL"].ConnectionString;
var cdnEndpoint = ConfigurationManager.ConnectionStrings["AzureCDNEndpointURL"].ConnectionString;
if (ConfigurationManager.AppSettings["UseCDN"] == true.ToString() && (!string.IsNullOrWhiteSpace(blobEndpoint) && !string.IsNullOrWhiteSpace(cdnEndpoint)))
{
uri = uri.Replace(blobEndpoint, cdnEndpoint);
Expand Down
4 changes: 2 additions & 2 deletions NBlog.Web/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<connectionStrings>
<add name="Sql" connectionString="Server=.;Database=NBlog;Trusted_Connection=True;" providerName="System.Data.SqlClient" />
<add name="AzureBlob" connectionString="DefaultEndpointsProtocol=https;AccountName=[YourAccountName];AccountKey=[YourAccountKey]" />
<add name="AzureCDNEndpoint" connectionString="" />
<add name="AzureBlobEndpoint" connectionString="" />
<add name="AzureCDNEndpointURL" connectionString="" />
<add name="AzureBlobEndpointURL" connectionString="" />
</connectionStrings>

<quartz>
Expand Down

0 comments on commit 437b0c3

Please sign in to comment.