Fix MIME type of sitemap
authorLanius Trolling <lanius@laniustrolling.dev>
Sun, 17 Dec 2023 17:28:57 +0000 (12:28 -0500)
committerLanius Trolling <lanius@laniustrolling.dev>
Sun, 17 Dec 2023 17:28:57 +0000 (12:28 -0500)
graphics/factions.png
graphics/factions.svg
src/main/kotlin/info/mechyrdia/Factbooks.kt

index cc830918c4fdfbab49d1f42012e5a77790df9e84..f26c547fdc07e1105d3ebcc9aa3428d9375d4028 100644 (file)
Binary files a/graphics/factions.png and b/graphics/factions.png differ
index 3aa7b17520acdaecc85cb240f79d64e1cf18a9ce..20ab8a7b1b556aff4cb9586b83f082c67185eeb1 100644 (file)
@@ -2,9 +2,9 @@
 <!-- Created with Inkscape (http://www.inkscape.org/) -->
 
 <svg
-   width="1536"
+   width="1344"
    height="192"
-   viewBox="0 0 1536 192.00001"
+   viewBox="0 0 1344 192.00001"
    version="1.1"
    id="svg335"
    inkscape:version="1.2 (dc2aedaf03, 2022-05-15)"
@@ -29,9 +29,9 @@
      inkscape:document-units="px"
      showgrid="false"
      showguides="true"
-     inkscape:zoom="5.6568544"
-     inkscape:cx="151.40924"
-     inkscape:cy="106.77312"
+     inkscape:zoom="1.4142136"
+     inkscape:cx="690.84331"
+     inkscape:cy="88.388345"
      inkscape:window-width="2560"
      inkscape:window-height="1529"
      inkscape:window-x="-8"
       <path
          id="path1028"
          style="color:#000000;fill:#333388;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:12"
-         d="M 1056 12 A 4.0004 4.0004 0 0 0 1054.2109 12.421875 L 974.21094 52.421875 A 4.0004 4.0004 0 0 0 972 56 L 972 136 A 4.0004 4.0004 0 0 0 974.21094 139.57812 L 1054.2109 179.57812 A 4.0004 4.0004 0 0 0 1057.7891 179.57812 L 1137.7891 139.57812 A 4.0004 4.0004 0 0 0 1140 136 L 1140 56 A 4.0004 4.0004 0 0 0 1137.7891 52.421875 L 1057.7891 12.421875 A 4.0004 4.0004 0 0 0 1056 12 z M 1056 16 L 1136 56 L 1136 136 L 1056 176 L 976 136 L 976 56 L 1056 16 z "
+         d="m 1056,12 a 4.0004,4.0004 0 0 0 -1.7891,0.421875 l -79.99996,40 A 4.0004,4.0004 0 0 0 972,56 v 80 a 4.0004,4.0004 0 0 0 2.21094,3.57812 l 79.99996,40 a 4.0004,4.0004 0 0 0 3.5782,0 l 80,-40 A 4.0004,4.0004 0 0 0 1140,136 V 56 a 4.0004,4.0004 0 0 0 -2.2109,-3.578125 l -80,-40 A 4.0004,4.0004 0 0 0 1056,12 Z m 0,4 80,40 v 80 l -80,40 -80,-40 V 56 Z"
          inkscape:label="border" />
     </g>
     <path
       <path
          id="path18253-7"
          style="color:#000000;fill:#aaaaaa;fill-opacity:1;stroke-width:4;stroke-linecap:round;stroke-linejoin:round"
-         d="M 383.84751 56.000045 A 128 144.09382 0 0 1 319.99986 75.584119 A 128 144.09382 0 0 0 383.99986 200.00071 A 128 144.09316 0 0 0 447.99986 75.584119 A 128 144.09316 0 0 1 383.84751 56.000045 z " />
+         d="m 383.84751,56.000045 a 128,144.09382 0 0 1 -63.84765,19.584074 128,144.09382 0 0 0 64,124.416591 128,144.09316 0 0 0 64,-124.416591 128,144.09316 0 0 1 -64.15235,-19.584074 z" />
       <path
          id="path18253"
          style="color:#000000;fill:#888888;fill-opacity:1;stroke-width:4.00001;stroke-linecap:round;stroke-linejoin:round"
          style="fill:url(#linearGradient87603);fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:12;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
          d="m 1701.5664,126.18555 c 0.7382,0.26505 1.4272,0.48085 2.0742,0.65429 0.6471,0.17345 1.2514,0.30456 1.8242,0.39844 0.5729,0.0939 1.1134,0.15138 1.629,0.17774 0.5155,0.0263 1.0071,0.0213 1.4824,-0.008 0.4752,-0.0291 0.9348,-0.0817 1.3867,-0.15429 0.4519,-0.0726 0.8963,-0.16559 1.3418,-0.26953 0.8909,-0.20789 1.7851,-0.46539 2.7519,-0.72657 0.6687,-0.29543 0.9933,-0.40378 1.086,-0.48242 0.046,-0.0393 0.034,-0.0708 -0.021,-0.11523 -0.056,-0.0445 -0.154,-0.10224 -0.2832,-0.19141 -0.1293,-0.0892 -0.288,-0.20939 -0.4629,-0.38281 -0.1749,-0.17343 -0.3662,-0.40002 -0.5586,-0.69727 -0.1924,-0.29725 -0.3865,-0.66632 -0.5684,-1.12695 -0.1818,-0.46063 -0.3509,-1.01221 -0.4941,-1.67578 -0.072,-0.33179 -0.1009,-0.65238 -0.09,-0.96289 0.011,-0.31051 0.062,-0.61065 0.1464,-0.90039 0.085,-0.28975 0.204,-0.57037 0.3536,-0.83985 0.1495,-0.26948 0.3296,-0.52762 0.5351,-0.77734 0.2055,-0.24973 0.437,-0.49023 0.6895,-0.7207 0.2525,-0.23048 0.5257,-0.45233 0.8164,-0.66407 0.2907,-0.21174 0.598,-0.41391 0.9179,-0.60742 0.32,-0.1935 0.6538,-0.37695 0.9942,-0.55273 0.6808,-0.35156 1.3924,-0.66943 2.1016,-0.95313 0.7091,-0.2837 1.4156,-0.53401 2.082,-0.7539 1.3328,-0.43979 2.5084,-0.75595 3.2441,-0.96485 -0.6484,-0.56516 -1.29,-1.18225 -1.8828,-1.82617 -0.2964,-0.32196 -0.5807,-0.6498 -0.8476,-0.98242 -0.2669,-0.33262 -0.5172,-0.6686 -0.7442,-1.00586 -0.227,-0.33726 -0.4306,-0.67584 -0.6074,-1.01172 -0.1768,-0.33588 -0.3253,-0.66956 -0.4414,-0.99805 -0.1162,-0.32849 -0.199,-0.65172 -0.2442,-0.96679 -0.045,-0.31508 -0.054,-0.62233 -0.017,-0.91797 0.054,-0.44316 0.1296,-0.88322 0.2226,-1.31836 0.093,-0.43514 0.2055,-0.86609 0.334,-1.29297 0.1285,-0.42689 0.2729,-0.84919 0.4336,-1.26758 0.1607,-0.41839 0.3377,-0.83254 0.5273,-1.24219 0.3794,-0.819297 0.8129,-1.621389 1.2891,-2.404293 0.4762,-0.782904 0.9935,-1.546436 1.541,-2.291016 0.5475,-0.74458 1.1256,-1.469499 1.7188,-2.173828 0.5932,-0.704329 1.203,-1.38863 1.8164,-2.050781 1.2266,-1.324302 2.4674,-2.561052 3.6211,-3.705078 -0.6652,0.183501 -1.3655,0.40141 -2.0938,0.644531 -0.7282,0.243121 -1.4835,0.510355 -2.2597,0.794922 -1.5524,0.569133 -3.1864,1.204201 -4.8399,1.830078 -1.6535,0.625877 -3.3274,1.244015 -4.9609,1.78125 -0.8168,0.268618 -1.623,0.517131 -2.4121,0.736328 -0.7891,0.219197 -1.5604,0.408943 -2.3067,0.560547 -0.7463,0.151604 -1.4678,0.264241 -2.1562,0.330078 -0.6884,0.06584 -1.3437,0.08498 -1.959,0.04687 -0.3077,-0.01905 -0.606,-0.05312 -0.8926,-0.101562 -0.2866,-0.04845 -0.5626,-0.111298 -0.8262,-0.191407 -0.2635,-0.08011 -0.5152,-0.176971 -0.7539,-0.291015 -0.2387,-0.114045 -0.4638,-0.246233 -0.6757,-0.396485 -0.212,-0.150252 -0.4105,-0.319081 -0.5938,-0.507812 -0.1833,-0.188731 -0.3512,-0.397471 -0.5039,-0.626953 -0.1527,-0.229482 -0.2899,-0.479449 -0.4102,-0.751953 -0.1202,-0.272505 -0.2246,-0.566967 -0.3105,-0.884766 -0.086,-0.317799 -0.1534,-0.660026 -0.2031,-1.025391 -0.05,-0.365364 -0.08,-0.75472 -0.092,-1.169921 -0.012,-0.415202 0,-0.854955 0.023,-1.322266 0.028,-0.467311 0.078,-0.96073 0.1484,-1.482422 -0.6382,0.548694 -1.244,1.046416 -1.8183,1.498047 -0.5743,0.45163 -1.1169,0.857071 -1.6328,1.216797 -0.5159,0.359725 -1.0037,0.674286 -1.4668,0.947265 -0.4631,0.27298 -0.9024,0.503921 -1.3184,0.695313 -0.4159,0.191392 -0.8092,0.342068 -1.1836,0.457031 -0.3744,0.114963 -0.7299,0.194589 -1.0683,0.238281 -0.3385,0.04369 -0.6606,0.05172 -0.9688,0.0293 -0.3081,-0.02242 -0.6013,-0.07678 -0.8847,-0.160156 -0.2835,-0.08337 -0.556,-0.194817 -0.8204,-0.333984 -0.2643,-0.139168 -0.5206,-0.306291 -0.7714,-0.496094 -0.2509,-0.189804 -0.4973,-0.403391 -0.7403,-0.638672 -0.243,-0.235281 -0.4839,-0.491978 -0.7246,-0.767578 -0.4814,-0.551199 -0.9627,-1.177852 -1.4687,-1.859375 -0.5061,-0.681523 -1.0358,-1.416922 -1.6114,-2.1875 -0.7133,0.926479 -1.3465,1.820454 -1.9062,2.695312 -0.2799,0.43743 -0.5412,0.86969 -0.7852,1.298828 -0.2439,0.429139 -0.4699,0.855372 -0.6797,1.279297 -0.2098,0.423926 -0.4047,0.84579 -0.582,1.267579 -0.1773,0.421788 -0.3378,0.842897 -0.4844,1.265624 -0.1465,0.422728 -0.279,0.846695 -0.3965,1.273438 -0.1174,0.426743 -0.2204,0.85718 -0.3105,1.291016 -0.1802,0.867671 -0.3078,1.751514 -0.3887,2.666015 -0.081,0.914501 -0.1142,1.859761 -0.1093,2.845703 0,0.985948 0.048,2.013708 0.125,3.095708 0.077,1.08199 0.1884,2.21726 0.3242,3.41992 z" />
     </g>
-    <g
-       id="g91680"
-       transform="translate(-480,-31.999999)">
-      <path
-         id="rect435"
-         style="fill:#77bbff;stroke:#4477aa;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
-         d="m 1970,47.999999 a 30,30 0 0 0 30,30 V 148 c 0,30 -80,60 -80,60 0,0 -80,-30 -80,-60 V 77.999999 a 30,30 0 0 0 30,-30 z" />
-      <rect
-         style="fill:#ffdd77;fill-opacity:1;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
-         id="rect5800"
-         width="12"
-         height="64"
-         x="1914"
-         y="123.7133" />
-      <rect
-         style="fill:#ffdd77;fill-opacity:1;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
-         id="rect5800-0"
-         width="12"
-         height="64"
-         x="1088.8517"
-         y="-1616.9121"
-         transform="rotate(60)" />
-      <rect
-         style="fill:#ffdd77;fill-opacity:1;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
-         id="rect5800-0-0"
-         width="12"
-         height="64"
-         x="-831.14832"
-         y="1708.6255"
-         transform="matrix(-0.5,0.8660254,0.8660254,0.5,0,0)" />
-      <path
-         id="path8054"
-         style="fill:#ffdd77;fill-opacity:1;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
-         d="m 1884,75.21526 v 41.56836 l 36,20.78515 36,-20.78515 V 75.21526 l -12,6.927735 v 27.712895 l -24,13.85742 -24,-13.85742 V 82.142995 Z" />
-      <path
-         style="fill:#ff77bb;fill-opacity:1;stroke:none;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
-         d="m 1920,95.999478 -24,13.856402 24,-41.569214 24,41.569224 z"
-         id="path14137" />
-    </g>
   </g>
 </svg>
index 0f87023ace566b7c5457cb53068abb20f2859426..91f784917bebdc129a5c3ae005b260a1e21e9df2 100644 (file)
@@ -161,7 +161,7 @@ fun Application.factbooks() {
                }
                
                get("/sitemap.xml") {
-                       call.respondText(buildString { generateSitemap() }, ContentType.Text.Xml)
+                       call.respondText(buildString { generateSitemap() }, ContentType.Application.Xml)
                }
                
                // Client settings