admin(ui): add node configuration page

This commit is contained in:
Matthew Penner 2021-02-24 18:28:24 -07:00
parent b8788d1af1
commit 46759ba967
4 changed files with 65 additions and 2 deletions

View file

@ -0,0 +1,9 @@
import http from '@/api/http';
export default (id: number): Promise<string> => {
return new Promise((resolve, reject) => {
http.get(`/api/application/nodes/${id}/configuration?format=yaml`)
.then(({ data }) => resolve(data))
.catch(reject);
});
};