1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-23 07:14:21 +00:00

🐛 Add trailing slash to /api/core/instance/

This commit is contained in:
Steffo 2021-10-07 01:52:35 +02:00
parent 4089ff893b
commit 3225144010
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -55,7 +55,7 @@ export function InstanceFormBox(): JSX.Element {
// Try to get the instance data from the backend // Try to get the instance data from the backend
try { try {
var response = await Axios.get<SophonInstanceDetails>("/api/core/instance", {baseURL: url.toString(), signal}) var response = await Axios.get<SophonInstanceDetails>("/api/core/instance/", {baseURL: url.toString(), signal})
} }
catch(e) { catch(e) {
instance.dispatch({ instance.dispatch({