Skip to content

Commit 7585121

Browse files
committed
Merge branch 'ronnygunawan-blazor-wasm-dotnet6'
2 parents dc23889 + 8ee67d7 commit 7585121

File tree

120 files changed

+244
-19
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+244
-19
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN echo "{ \"allow_root\": true }" > /root/.bowerrc
99
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
1010

1111
RUN apt-get update
12-
RUN apt-get install -y m4 libtinfo5 libghc-zlib-dev rsync ghc haskell-stack curl g++ make git openjdk-8-jdk dos2unix
12+
RUN apt-get install -y m4 libtinfo5 libghc-zlib-dev rsync ghc haskell-stack curl g++ make git openjdk-8-jdk dos2unix python
1313

1414
ENV NVM_DIR /usr/local/nvm
1515
RUN mkdir -p $NVM_DIR
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"sdk": {
3+
"version": "6.0.100"
4+
}
5+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<configuration>
3+
<system.webServer>
4+
<staticContent>
5+
<remove fileExtension=".blat" />
6+
<remove fileExtension=".dat" />
7+
<remove fileExtension=".dll" />
8+
<remove fileExtension=".json" />
9+
<remove fileExtension=".wasm" />
10+
<remove fileExtension=".woff" />
11+
<remove fileExtension=".woff2" />
12+
<mimeMap fileExtension=".blat" mimeType="application/octet-stream" />
13+
<mimeMap fileExtension=".dll" mimeType="application/octet-stream" />
14+
<mimeMap fileExtension=".dat" mimeType="application/octet-stream" />
15+
<mimeMap fileExtension=".json" mimeType="application/json" />
16+
<mimeMap fileExtension=".wasm" mimeType="application/wasm" />
17+
<mimeMap fileExtension=".woff" mimeType="application/font-woff" />
18+
<mimeMap fileExtension=".woff2" mimeType="application/font-woff" />
19+
</staticContent>
20+
<httpCompression>
21+
<dynamicTypes>
22+
<add mimeType="application/octet-stream" enabled="true" />
23+
<add mimeType="application/wasm" enabled="true" />
24+
</dynamicTypes>
25+
</httpCompression>
26+
<rewrite>
27+
<rules>
28+
<rule name="Serve subdir">
29+
<match url=".*" />
30+
<action type="Rewrite" url="wwwroot\{R:0}" />
31+
</rule>
32+
<rule name="SPA fallback routing" stopProcessing="true">
33+
<match url=".*" />
34+
<conditions logicalGrouping="MatchAll">
35+
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
36+
</conditions>
37+
<action type="Rewrite" url="wwwroot\" />
38+
</rule>
39+
</rules>
40+
</rewrite>
41+
</system.webServer>
42+
</configuration>

0 commit comments

Comments
 (0)