diff --git a/client/index.html b/client/index.html index 9a334c7e..f0aa933d 100644 --- a/client/index.html +++ b/client/index.html @@ -7,7 +7,7 @@ diff --git a/server/vbv_lernwelt/core/views.py b/server/vbv_lernwelt/core/views.py index 18a5e3a6..92bae1ae 100644 --- a/server/vbv_lernwelt/core/views.py +++ b/server/vbv_lernwelt/core/views.py @@ -34,9 +34,6 @@ def vue_home(request, *args): try: res = requests.get(f"{settings.IT_SERVE_VUE_URL}{request.get_full_path()}") content = res.text - content = content.replace( - "https://vbv-lernwelt.control.iterativ.ch/static/", "/static/" - ) headers = res.headers content_type = headers.get("content-type", "text/html") return HttpResponse(content, content_type=content_type) @@ -47,9 +44,6 @@ def vue_home(request, *args): # render index.html from `npm run build` content = loader.render_to_string("vue/index.html", context={}, request=request) - content = content.replace( - "https://vbv-lernwelt.control.iterativ.ch/static/", "/static/" - ) return HttpResponse(content)