Table improvements, add modals
This commit is contained in:
12
frontend/src/api/npm/getUpstreamNginxConfig.ts
Normal file
12
frontend/src/api/npm/getUpstreamNginxConfig.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import * as api from "./base";
|
||||
|
||||
export async function getUpstreamNginxConfig(
|
||||
id: number,
|
||||
params = {},
|
||||
): Promise<string> {
|
||||
const { result } = await api.get({
|
||||
url: `/upstreams/${id}/nginx-config`,
|
||||
params,
|
||||
});
|
||||
return result;
|
||||
}
|
@@ -13,6 +13,7 @@ export * from "./getHosts";
|
||||
export * from "./getNginxTemplates";
|
||||
export * from "./getSettings";
|
||||
export * from "./getToken";
|
||||
export * from "./getUpstreamNginxConfig";
|
||||
export * from "./getUpstreams";
|
||||
export * from "./getUser";
|
||||
export * from "./getUsers";
|
||||
|
Reference in New Issue
Block a user