fmt
All checks were successful
Test / test (push) Successful in 7s
Deploy to Pages / deploy (push) Successful in 9s
Build and Publish Docker Image / build-and-push (push) Successful in 15s

This commit is contained in:
Andras Schmelczer 2026-06-07 21:29:31 +01:00
parent 34c8da592a
commit 1732243f26
2 changed files with 7 additions and 7 deletions

View file

@ -38,9 +38,8 @@ app.use(express.json({ limit: "100mb" }));
app.use(express.static("public"));
// Serve the official Plausible tracker (npm: @plausible-analytics/tracker) from node_modules.
const plausibleTrackerPath = require.resolve(
"@plausible-analytics/tracker/plausible.js",
);
const plausibleTrackerPath =
require.resolve("@plausible-analytics/tracker/plausible.js");
app.get("/vendor/plausible.js", (req, res) => {
res.sendFile(plausibleTrackerPath);

View file

@ -106,13 +106,14 @@ const loadQuestions = async (
<input type="radio" id="rad3" name="group">
<label id="label${qid}" class="rad3">${sanitizeQuestionHtml(c)}</label>
<br>
${d
? `
${
d
? `
<input type="radio" id="rad4" name="group">
<label id="label${qid}" class="rad4">${sanitizeQuestionHtml(d)}</label>
<br>`
: ""
}
: ""
}
</form>
</div>
`;