<?xml version="1.0" encoding="utf-8"?>
<configuration>

  <!--
    Configure your application settings in appsettings.json. Learn more at https://go.microsoft.com/fwlink/?LinkId=786380
  -->

  <system.webServer>
    <handlers>
      <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/> 
    </handlers>    
    <aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false"/>
    <httpProtocol>
      <customHeaders>
        <!--Is set in startup.cs with services.addcors, so we can't set it here also (Xavier)-->
        <!--<add name="Access-Control-Allow-Origin" value="*" />-->
        <!--<add name="Access-Control-Allow-Methods" value="GET,PUT,POST,DELETE,OPTIONS" />-->
        <!--<add name="Access-Control-Allow-Headers" value="*" />-->
      </customHeaders>
    </httpProtocol>
  </system.webServer>
</configuration>