Cleanup unused stuff

This commit is contained in:
Daniel Egger 2023-06-01 23:12:47 +02:00
parent 975d9cfdc2
commit 8a1e9221c8
2 changed files with 1 additions and 7 deletions

View File

@ -7,7 +7,7 @@
<!-- workaround for vitejs bundling -> reference https:// -->
<link
href="https://myvbv.iterativ.ch/static/fonts/BuenosAires/stylesheet.css"
href="https://my.vbv-afa.ch/static/fonts/BuenosAires/stylesheet.css"
rel="stylesheet"
/>
<script defer src="/server/core/icons/"></script>

View File

@ -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)