Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ebb85e6291 | ||
|
|
98b5e976af |
1 changed files with 2 additions and 2 deletions
|
|
@ -224,7 +224,7 @@ window.marked = marked;
|
|||
closeOverflowMenu();
|
||||
const f = document.createElement('form');
|
||||
f.method = 'POST';
|
||||
f.action = `${dashUrl}rebuild/${label}`;
|
||||
f.action = `${dashUrl}api/rebuild/${label}`;
|
||||
document.body.appendChild(f);
|
||||
f.submit();
|
||||
});
|
||||
|
|
@ -1053,7 +1053,7 @@ window.marked = marked;
|
|||
btn.disabled = true;
|
||||
status.textContent = 'sending…';
|
||||
try {
|
||||
const resp = await fetch(dashboardBase + 'answer-question/' + id, {
|
||||
const resp = await fetch(dashboardBase + 'api/answer-question/' + id, {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
||||
body: 'answer=' + encodeURIComponent(answer),
|
||||
|
|
|
|||
Loading…
Reference in a new issue