Fix issue on servers that can't redirect to proper url. add a / to path when it doesn't end by this and not index.html