Merge branch 'master' of github.com:pietervdvn/MapComplete

This commit is contained in:
Pieter Vander Vennet 2024-09-30 18:45:17 +02:00
commit 645f08071a
3 changed files with 16 additions and 6 deletions
assets/svg
scripts
src/assets/svg

View file

@ -45,15 +45,25 @@
x1="346.50821"
gradientUnits="userSpaceOnUse"
id="SVGID_1_"
gradientTransform="matrix(6.6326761,0,0,6.6326761,-1221.4079,-713.64667)">&#10; <stop
gradientTransform="matrix(6.6326761,0,0,6.6326761,-1221.4079,-713.64667)">
<stop
id="stop4"
style="stop-color:#8F2A85"
offset="0" />&#10; <stop
offset="0" />
<stop
id="stop6"
style="stop-color:#2570B6"
offset="1" />&#10; </linearGradient></defs>&#10;<style
offset="1" />
</linearGradient></defs>
<style
type="text/css"
id="style2">&#10; .st0{fill:url(#SVGID_1_);}&#10; .st1{fill:#FFFFFF;}&#10; .st2{display:none;fill:none;stroke:#E62054;stroke-width:7.5;stroke-miterlimit:10;}&#10;</style>&#10;&#10;<text
id="style2">
.st0{fill:url(#SVGID_1_);}
.st1{fill:#FFFFFF;}
.st2{display:none;fill:none;stroke:#E62054;stroke-width:7.5;stroke-miterlimit:10;}
</style>
<text
y="-2248.8188"
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;white-space:pre;shape-inside:url(#rect60279);display:inline;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="text60277"

Before

(image error) Size: 20 KiB

After

(image error) Size: 20 KiB

View file

@ -147,7 +147,7 @@ http.createServer(async (req: http.IncomingMessage, res) => {
console.log("URL pathname is")
if (url.pathname.endsWith("overview")) {
console.log("Giving overview")
let userId = url.searchParams.get("userId")
const userId = url.searchParams.get("userId")
const allFiles = ScriptUtils.readDirRecSync(STATIC_PATH)
.filter(
(p) =>

File diff suppressed because one or more lines are too long