<?xml version="1.0"?>
<!-- Web.Config Configuration File -->
<configuration>
  <appSettings>
    {{#if bbauth.isEnabled }}
    <add key="AuthAddress" value="{{ bbauth.authAddress }}" />
    <add key="RootUrl" value="{{ bbauth.rootUrl }}" />
    <add key="ClientId" value="{{ bbauth.clientId }}" />
    <add key="ForbiddenContent" value="This site is restricted to Blackbaud staff members." />
    <add key="AnonymousPaths" value="{{ bbauth.anonymousPaths }}" />
    <add key="AllowedEmailDomains" value="blackbaud.com;blackbaud.me;blackbaud.au;blackbaud.co.uk" />
    {{/if}}
  </appSettings>
  <system.web>
    <customErrors mode="Off" />
  </system.web>
  <system.webServer>
    <caching enabled="false" />
    <modules runAllManagedModulesForAllRequests="true"/>
    <staticContent>
      <remove fileExtension=".svg" />
      <remove fileExtension=".eot" />
      <remove fileExtension=".woff" />
      <remove fileExtension=".woff2" />
      <remove fileExtension=".json" />
      <mimeMap fileExtension=".svg" mimeType="image/svg+xml"  />
      <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
      <mimeMap fileExtension=".woff" mimeType="application/x-woff" />
      <mimeMap fileExtension=".woff2" mimeType="application/x-woff2" />
      <mimeMap fileExtension=".json" mimeType="application/json" />
    </staticContent>
  </system.webServer>
</configuration>
