8
0
mirror of https://github.com/key-networks/ztncui.git synced 2024-08-31 04:28:00 +00:00

Issue #5: Create a public network

This commit is contained in:
Steve Patrick
2018-05-20 20:45:58 +08:00
parent 4e2fb9c1eb
commit b49cd75b1d
3 changed files with 51 additions and 0 deletions

View File

@@ -43,6 +43,9 @@ router.get('/network/:nwid/routes/:target_ip/:target_prefix/delete', restrict, n
// POST request for routes
router.post('/network/:nwid/routes', restrict, networkController.routes);
// POST request for private
router.post('/network/:nwid/private', restrict, networkController.private);
// POST request for v4AssignMode
router.post('/network/:nwid/v4AssignMode', restrict, networkController.v4AssignMode);