Describe the bug
The front-end reports an error when add site
To Reproduce
Steps to reproduce the behavior:
start nginx-ui
complete config
Expected behavior
add site success
Screenshots
Info (please complete the following information):
Server OS: [aws linux2]
Server Arch: [x86]
Nginx UI Version: [2.0.0-beta.36]
Your Browser: [Arc]
Additional context
index-G7-zBUPw.js:14 TypeError: Cannot read properties of undefined (reading 'locations')
at g (NgxConfigEditor-DZ7jt-DA.js:1:10698)
at So (index-G7-zBUPw.js:14:1385)
at Ot (index-G7-zBUPw.js:14:1456)
at c0 (index-G7-zBUPw.js:15:32507)
at h (index-ZHjQ4DE5.js:46:4037)
at So (index-G7-zBUPw.js:14:1385)
at Ot (index-G7-zBUPw.js:14:1456)
at c0 (index-G7-zBUPw.js:15:32507)
at J (index-Cv7sLCZk.js:1:18529)
at So (index-G7-zBUPw.js:14:1385)
Describe the bug The front-end reports an error when add site
To Reproduce Steps to reproduce the behavior:
Expected behavior add site success
Screenshots
Info (please complete the following information):
Additional context
index-G7-zBUPw.js:14 TypeError: Cannot read properties of undefined (reading 'locations') at g (NgxConfigEditor-DZ7jt-DA.js:1:10698) at So (index-G7-zBUPw.js:14:1385) at Ot (index-G7-zBUPw.js:14:1456) at c0 (index-G7-zBUPw.js:15:32507) at h (index-ZHjQ4DE5.js:46:4037) at So (index-G7-zBUPw.js:14:1385) at Ot (index-G7-zBUPw.js:14:1456) at c0 (index-G7-zBUPw.js:15:32507) at J (index-Cv7sLCZk.js:1:18529) at So (index-G7-zBUPw.js:14:1385)