| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <!-- |
| | | For more information on how to configure your ASP.NET application, please visit |
| | | http://go.microsoft.com/fwlink/?LinkId=301879 |
| | | --> |
| | | <configuration> |
| | | <appSettings> |
| | | <!-- 服务地址 --> |
| | | <add key="moonServer" value="http://127.0.0.1:9000/MoonServer"/> |
| | | <!-- 下载目录 --> |
| | | <add key="downloadFolder" value="D:\Moon\download"/> |
| | | <!-- PG连接 --> |
| | | <add key="pgConn" value="Server=192.168.20.83;Port=5433;Database=moon;User Id=postgres;Password=Postgres!_14_moon;"/> |
| | | </appSettings> |
| | | <system.web> |
| | | <compilation debug="true" targetFramework="4.5.2" /> |
| | | <httpRuntime targetFramework="4.5.2" /> |
| | | </system.web> |
| | | <system.webServer> |
| | | <security> |
| | | <requestFiltering> |
| | | <!-- 1GB = 1073741824 --> |
| | | <requestLimits maxAllowedContentLength="2147483647"/> |
| | | </requestFiltering> |
| | | </security> |
| | | <handlers> |
| | | <remove name="ExtensionlessUrlHandler-Integrated-4.0" /> |
| | | <remove name="OPTIONSVerbHandler" /> |
| | | <remove name="TRACEVerbHandler" /> |
| | | <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" /> |
| | | </handlers> |
| | | <staticContent> |
| | | <remove fileExtension=".wsv"/> |
| | | <mimeMap fileExtension=".wsv" mimeType="application/octet-stream"/> |
| | | <remove fileExtension=".czml"/> |
| | | <mimeMap fileExtension=".czml" mimeType="application/json"/> |
| | | <remove fileExtension=".glsl"/> |
| | | <mimeMap fileExtension=".glsl" mimeType="text/plain"/> |
| | | <remove fileExtension=".b3dm"/> |
| | | <mimeMap fileExtension=".b3dm" mimeType="application/octet-stream"/> |
| | | <remove fileExtension=".pnts"/> |
| | | <mimeMap fileExtension=".pnts" mimeType="application/octet-stream"/> |
| | | <remove fileExtension=".i3dm"/> |
| | | <mimeMap fileExtension=".i3dm" mimeType="application/octet-stream"/> |
| | | <remove fileExtension=".cmpt"/> |
| | | <mimeMap fileExtension=".cmpt" mimeType="application/octet-stream"/> |
| | | <remove fileExtension=".gltf"/> |
| | | <mimeMap fileExtension=".gltf" mimeType="model/gltf+json"/> |
| | | <remove fileExtension=".bgltf"/> |
| | | <mimeMap fileExtension=".bgltf" mimeType="model/gltf-binary"/> |
| | | <remove fileExtension=".glb"/> |
| | | <mimeMap fileExtension=".glb" mimeType="model/gltf-binary"/> |
| | | <remove fileExtension=".json"/> |
| | | <mimeMap fileExtension=".json" mimeType="application/json"/> |
| | | <remove fileExtension=".geojson"/> |
| | | <mimeMap fileExtension=".geojson" mimeType="application/json"/> |
| | | <remove fileExtension=".topojson"/> |
| | | <mimeMap fileExtension=".topojson" mimeType="application/json"/> |
| | | <remove fileExtension=".wasm"/> |
| | | <mimeMap fileExtension=".wasm" mimeType="application/wasm"/> |
| | | <remove fileExtension=".woff"/> |
| | | <mimeMap fileExtension=".woff" mimeType="application/font-woff"/> |
| | | <remove fileExtension=".woff2"/> |
| | | <mimeMap fileExtension=".woff2" mimeType="application/font-woff2"/> |
| | | <remove fileExtension=".kml"/> |
| | | <mimeMap fileExtension=".kml" mimeType="application/vnd.google-earth.kml+xml"/> |
| | | <remove fileExtension=".kmz"/> |
| | | <mimeMap fileExtension=".kmz" mimeType="application/vnd.google-earth.kmz"/> |
| | | <remove fileExtension=".svg"/> |
| | | <mimeMap fileExtension=".svg" mimeType="image/svg+xml"/> |
| | | <remove fileExtension=".terrain"/> |
| | | <mimeMap fileExtension=".terrain" mimeType="application/vnd.quantized-mesh"/> |
| | | <remove fileExtension=".ktx"/> |
| | | <mimeMap fileExtension=".ktx" mimeType="image/ktx"/> |
| | | <remove fileExtension=".crn"/> |
| | | <mimeMap fileExtension=".crn" mimeType="image/crn"/> |
| | | <remove fileExtension=".ktx2"/> |
| | | <mimeMap fileExtension=".ktx2" mimeType="image/ktx2"/> |
| | | <remove fileExtension=".eot"/> |
| | | <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject"/> |
| | | <remove fileExtension=".ttf"/> |
| | | <mimeMap fileExtension=".ttf" mimeType="application/octet-stream"/> |
| | | <remove fileExtension=".csv"/> |
| | | <mimeMap fileExtension=".csv" mimeType="application/octet-stream"/> |
| | | <remove fileExtension=".fly"/> |
| | | <mimeMap fileExtension=".fly" mimeType="application/octet-stream"/> |
| | | <remove fileExtension=".emp"/> |
| | | <mimeMap fileExtension=".emp" mimeType="application/octet-stream"/> |
| | | <remove fileExtension=".edp"/> |
| | | <mimeMap fileExtension=".edp" mimeType="application/octet-stream"/> |
| | | <remove fileExtension=".flv"/> |
| | | <mimeMap fileExtension=".flv" mimeType="flv-application/octet-stream"/> |
| | | <remove fileExtension=".mp4"/> |
| | | <mimeMap fileExtension=".mp4" mimeType="video/mp4"/> |
| | | <remove fileExtension=".wmv"/> |
| | | <mimeMap fileExtension=".wmv" mimeType="audio/x-ms-wmv"/> |
| | | <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="1.00:00:00"/> |
| | | </staticContent> |
| | | <httpProtocol> |
| | | <customHeaders> |
| | | <add name="Access-Control-Allow-Headers" value="*,X-Requested-With"/> |
| | | <add name="Access-Control-Allow-Origin" value="*"/> |
| | | </customHeaders> |
| | | </httpProtocol> |
| | | </system.webServer> |
| | | </configuration> |