networknt/light-codegen

fix the handleTest template with http and http2 enabled

stevehu opened this issue · 1 comments

When the service.yml has http and http2 enabled, the URL protocol is still set as https which is wrong. Teh URL should only be determined with the enableHttp or enableHttps.