mirror of
https://github.com/go-shiori/shiori.git
synced 2025-03-11 07:18:05 +08:00
parent
48db805480
commit
ceb392d22e
1 changed files with 2 additions and 2 deletions
|
@ -107,7 +107,7 @@ export default {
|
|||
|
||||
this.$emit("setting-changed", options);
|
||||
//request
|
||||
fetch(new URL("/api/v1/auth/account", document.baseURI), {
|
||||
fetch(new URL("api/v1/auth/account", document.baseURI), {
|
||||
method: "PATCH",
|
||||
body: JSON.stringify({
|
||||
config: this.appOptions,
|
||||
|
@ -337,7 +337,7 @@ export default {
|
|||
secondText: "No",
|
||||
mainClick: () => {
|
||||
this.dialog.loading = true;
|
||||
fetch(`/api/accounts`, {
|
||||
fetch(`api/accounts`, {
|
||||
method: "delete",
|
||||
body: JSON.stringify([account.username]),
|
||||
headers: {
|
||||
|
|
Loading…
Reference in a new issue