mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-07 09:35:54 -08:00
Enforce method
This commit is contained in:
@@ -225,7 +225,9 @@ export default function Component({ service }) {
|
||||
}),
|
||||
);
|
||||
const url = `/api/services/proxy?${params.toString()}`;
|
||||
await fetch(url).then(() => {
|
||||
await fetch(url, {
|
||||
method: "POST",
|
||||
}).then(() => {
|
||||
sessionMutate();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user