Raathigesh / atmo

:heavy_check_mark: Mock data for your prototypes and demos. Remote deployments to Zeit now.
815 stars 46 forks source link

Bug in server when editing "Response Headers" #43

Closed pantchox closed 7 years ago

pantchox commented 7 years ago

When creating a new http endpoint, the default "Response Headers" first row is "Access-Control-Allow-Origin: *" which is great it allows us CORS. but if i click on it to edit it a new headers row is added under it. If i don't add new header and leave the new row fields empty, clicking "Deploy" and "Save" , closing and reloading atmo causes the endpoint to return "404" error. in my case the endpoint was a "200 OK" and "POST"

Thanks.

Raathigesh commented 7 years ago

Unfortunately, I couldn't reproduce the issue.

pantchox commented 7 years ago

i will try to write a more specific reproduce to this bug tommrow, there is def' a bug. thanks!

pantchox commented 7 years ago

i could not reproduce this bug.