fix server
This commit is contained in:
parent
ef0b2b51b1
commit
d6d706af95
@ -85,7 +85,7 @@
|
||||
answers.push(label.innerText.trim());
|
||||
}
|
||||
}
|
||||
return question + answers.map((s) => "- " + s.replaceAll("\t", "")).join("\n");
|
||||
return question + "\n\n" + answers.map((s) => "- " + s.replaceAll("\t", "")).join("\n");
|
||||
}
|
||||
|
||||
function copyToClipboard() {
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import router from "../router";
|
||||
import { coursePolls, deepSeekPolls } from "../data/polls";
|
||||
import { deepSeekPolls } from "../data/polls";
|
||||
|
||||
router.on("/question", async function (data, response) {
|
||||
const { question } = data.body;
|
||||
@ -14,7 +14,6 @@ router.on("/question", async function (data, response) {
|
||||
}
|
||||
console.log("Received question", question);
|
||||
const polls = deepSeekPolls.value;
|
||||
coursePolls.value = [];
|
||||
const pollData = {
|
||||
questionID: questionId,
|
||||
question: question,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user