packruler / traefik-themepark

Easily add theme-park.dev themes to supported applications
Apache License 2.0
34 stars 4 forks source link

Fix VueTorrent and other </body> based matching apps #6

Closed packruler closed 2 years ago

packruler commented 2 years ago

Describe the bug VueTorrent will not work on initial load but will work on a hard refresh.

Relevant Config TrueNAS Scale instance

Current HTML result

<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><meta name="mobile-web-app-capable" content="yes"><meta name="viewport" content="width=device-width,initial-scale=1"><!--[if IE]><link rel="icon" type="image/png" href="./favicon.ico?s=1"><![endif]--><link rel="icon" href="./icons/favicon.svg" sizes="any" type="image/svg+xml"><title>qBittorrent</title><meta name="description" content="The sleekest looking WEBUI for qBittorrent made with Vuejs!"><meta property="og:image" content="./icons/android-chrome-maskable-512x512.png?s=22"><meta property="og:description" content="torrent universal server for remote download."><meta property="og:title" content="WELCOME :: VUE TORRENT"><script defer="defer" src="js/chunk-vendors.a5b83856.js"></script><script defer="defer" src="js/app.75207d8a.js"></script><link href="css/chunk-vendors.7301e792.css" rel="stylesheet"><link href="css/app.759eceb8.css" rel="stylesheet"><link rel="icon" type="image/svg+xml" href="img/icons/favicon.svg"><link rel="icon" type="image/png" sizes="32x32" href="./icons/favicon-32x32.png?s=22"><link rel="icon" type="image/png" sizes="16x16" href="./icons/favicon-16x16.png?s=22"><link rel="manifest" href="manifest.json"><meta name="theme-color" content="#597566"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="VueTorrent"><link rel="apple-touch-icon" href="./icons/apple-touch-icon.png?s=22"><link rel="mask-icon" href="./icons/safari-pinned-tab.svg?s=22" color="#597566"><meta name="msapplication-TileImage" content="img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but VueTorrent doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
packruler commented 2 years ago
image