MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / getNginx

Function getNginx

frontend/src/api/modules/nginx.ts:5–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import { Nginx } from '../interface/nginx';
4
5export const getNginx = () => {
6 return http.get<File.File>(`/openresty`);
7};
8
9export const getNginxConfigByScope = (req: Nginx.NginxScopeReq) => {
10 return http.post<Nginx.NginxParam[]>(`/openresty/scope`, req);

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected