Need to generate urls ending with "/" (slash)

Hi Team,

Our partner has asked

Q. Can we revise this format to sub-domain.primary-domain/en/ instead of sub-domain.primary-domain/en/index.html or sub-domain.primary-domain/en?

I have tried with generating URL ending with slash but unfortunately its not supported.