forked from Fr8org/Fr8Core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Web.Release.config
43 lines (36 loc) · 2.1 KB
/
Web.Release.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0"?>
<!-- For more information on using Web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=301874 -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!--
In the example below, the "SetAttributes" transform will change the value of
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
finds an atrribute "name" that has a value of "MyDB".
<connectionStrings>
<add name="MyDB"
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
</connectionStrings>
-->
<log4net xdt:Transform="Replace" configSource="Config\log4net.Release.config"/>
<appSettings xdt:Transform="SetAttributes" file="Config\Settings.Release.config">
<add key="ServerProtocol" value="https://" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="ServerDomainName" value="fr8.co" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="ServerPort" value="80" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<!--<add key="PlanDirectoryUrl" value="https://directory.fr8.co" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>-->
<add key="PlanDirectoryUrl" value="https://fr8.co" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
<add key="HubApiUrl" value="https://fr8.co/api/v1/" xdt:Transform="SetAttributes" xdt:Locator="Match(key)"/>
</appSettings>
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
<!--
In the example below, the "Replace" transform will replace the entire
<customErrors> section of your Web.config file.
Note that because there is only one customErrors section under the
<system.web> node, there is no need to use the "xdt:Locator" attribute.
<customErrors defaultRedirect="GenericError.htm"
mode="RemoteOnly" xdt:Transform="Replace">
<error statusCode="500" redirect="InternalError.htm"/>
</customErrors>
-->
</system.web>
</configuration>