0xJacky / nginx-ui

Yet another WebUI for Nginx
https://nginxui.com
GNU Affero General Public License v3.0
4.38k stars 332 forks source link

Failed to add site #637

Open koi646 opened 10 hours ago

koi646 commented 10 hours ago

Describe the bug The front-end reports an error when add site

To Reproduce Steps to reproduce the behavior:

  1. start nginx-ui
  2. complete config image image

Expected behavior add site success

Screenshots

Info (please complete the following information):

Additional context image

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)

koi646 commented 10 hours ago

i think it just ambiguous presentation at the front-end