We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 696261d commit f48f331Copy full SHA for f48f331
src/api/provider/sessions.ts
@@ -30,7 +30,7 @@ export class ProviderFiles {
30
baseURL: this.baseUrl,
31
});
32
try {
33
- const response = await client.options('/ping');
+ const response = await client.options(`/${this.prefix}/ping`);
34
if (!response?.data?.pong) {
35
throw new Error('Offline file provider.');
36
}
@@ -110,7 +110,7 @@ export class ProviderFiles {
110
111
public async allInstances(): ResponseProvider {
112
113
- const response = await axios.get(`${this.baseUrl}/list-instances/${this.prefix}`);
+ const response = await axios.get(`${this.baseUrl}/${this.prefix}/list-instances`);
114
return [{ status: response.status, data: response?.data as string[] }];
115
} catch (error) {
116
return [
0 commit comments