moodle delete last slash in wwwroot conf

This commit is contained in:
Jorge Pastor 2023-12-09 11:43:45 +01:00
parent 30ed10d364
commit f067732802
1 changed files with 1 additions and 1 deletions

View File

@ -20,6 +20,6 @@ class MoodleWWWRootController(ServiceController):
def get_context(self, content):
return {
'url': content.get_absolute_url(),
'url': content.get_absolute_url()[:-1] if content.get_absolute_url()[-1] == '/' else content.get_absolute_url(),
'app_path': content.webapp.get_path(),
}