Skip to content

Commit 70157dd

Browse files
committed
Update Imageflow.Server.Host to use a more boring test image
1 parent e25903c commit 70157dd

File tree

5 files changed

+17
-13
lines changed

5 files changed

+17
-13
lines changed

src/Imageflow.Server.Host/Imageflow.Server.Host.csproj

+4-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<Content Include="imageflow.toml">
2222
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
2323
</Content>
24-
<Content Include="images\robotcrush.png">
24+
<Content Include="imageflow-test\imageflow-operational.png">
2525
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
2626
</Content>
2727
</ItemGroup>
@@ -40,6 +40,8 @@
4040
</ItemGroup>
4141

4242
<ItemGroup>
43-
<Folder Include="images/" />
43+
<Folder Include="imageflow-test\" />
44+
4445
</ItemGroup>
46+
4547
</Project>
Loading

src/Imageflow.Server.Host/imageflow.toml

+7-5
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ cache_control = "public, max-age=2592000"
1818
apply_default_commands = "quality=76&webp.quality=70&f.sharpen=23&down.filter=mitchell"
1919

2020
[[routes]]
21-
prefix = '/images/'
22-
map_to_physical_folder='${app.approot}\images\'
21+
prefix = '/imageflow-test/'
22+
map_to_physical_folder='${app.approot}\imageflow-test\'
2323

2424
# ====== Caching to disk ======
2525
[disk_cache] # HybridCache
@@ -82,8 +82,9 @@ cache_control = "no-cache"
8282
content_type = "text/html" # required
8383
content = """
8484
85-
<h3>If you see an angry, AI-generated robot below, Imageflow Server is running</h3>
86-
<p><img src="/images/robotcrush.png?w=300&f.sharpen=30&format=webp&webp.lossless=true"</p>
85+
<h3>You should see IMAGEFLOW IS RUNNING below</h3>
86+
<p><img width="400" srcset="/imageflow-test/imageflow-operational.png?format=webp&webp.lossless=true&w=1200 1200w, /imageflow-test/imageflow-operational.png?format=webp&webp.lossless=true&w=800 800w, /imageflow-test/imageflow-operational.png?format=webp&webp.lossless=true&w=400 400w"
87+
src="/imageflow-test/imageflow-operational.png?format=webp&webp.lossless=true"</p>
8788
<p><a href="/imageflow.debug">Visit /imageflow.debug for diagnostics</a></p>
8889
<p><strong>Edit imageflow.toml to delete or modify this default page, then restart the site.</p>
8990
@@ -103,4 +104,5 @@ megapixels = 40
103104
[security.max_frame_resolution]
104105
width = 12000
105106
height = 12000
106-
megapixels = 80
107+
megapixels = 80
108+
-57.2 KB
Binary file not shown.

src/Imageflow.Server.Host/packages.lock.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
},
1717
"Microsoft.DotNet.ILCompiler": {
1818
"type": "Direct",
19-
"requested": "[8.0.10, )",
20-
"resolved": "8.0.10",
21-
"contentHash": "iThS5LNCcLlFkUlnxCJMgMSQ6s1BgbZo9ri11DDgNxDn8StwgFVUQJ8O5N/7S037jcS1md8tWp7Zu2YconIlag=="
19+
"requested": "[8.0.12, )",
20+
"resolved": "8.0.12",
21+
"contentHash": "zhXnz2574mBc/ocGoG+qB0BgyoK9bH7f7Te1fNQJGbpwLLwZO5KKaTBmfM8N8THb3a2vQVFonbBzQ//d15TmQQ=="
2222
},
2323
"Microsoft.Extensions.Http.Polly": {
2424
"type": "Direct",
@@ -33,9 +33,9 @@
3333
},
3434
"Microsoft.NET.ILLink.Tasks": {
3535
"type": "Direct",
36-
"requested": "[8.0.11, )",
37-
"resolved": "8.0.11",
38-
"contentHash": "zk5lnZrYJgtuJG8L4v17Ej8rZ3PUcR2iweNV08BaO5LbYHIi2wNaVNcJoLxvqgQdnjLlKnCCfVGLDr6QHeAarQ=="
36+
"requested": "[8.0.12, )",
37+
"resolved": "8.0.12",
38+
"contentHash": "FV4HnQ3JI15PHnJ5PGTbz+rYvrih42oLi/7UMIshNwCwUZhTq13UzrggtXk4ygrcMcN+4jsS6hhshx2p/Zd0ig=="
3939
},
4040
"AWSSDK.Core": {
4141
"type": "Transitive",

0 commit comments

Comments
 (0)