Fix for varnish

Without the trailing slashes, the editor cannot be accessed in a varnish environment