Fix errors
This commit is contained in:
parent
782b5f8914
commit
e10cb6795e
@ -264,7 +264,7 @@ but6.onclick = function () {
|
||||
}
|
||||
|
||||
function sendCycleData() {
|
||||
const url = `${window.location.origin}/currcycles`;
|
||||
const url = `${window.location.origin}/api/currcycles`;
|
||||
fetch(url, {
|
||||
method: 'POST',
|
||||
})
|
||||
@ -293,7 +293,7 @@ function handleLoop() {
|
||||
function PrintDiagram(pechstatus) {
|
||||
const Pech = JSON.parse(pechstatus);
|
||||
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
||||
cpnst t = new Diagram(0.5, 0.5, canvas.width - 1, canvas.height - 1);
|
||||
const t = new Diagram(0.5, 0.5, canvas.width - 1, canvas.height - 1);
|
||||
t.BuildDefault();
|
||||
t.Rotate(chkRotate.checked);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user