fix to use relativ path

This commit is contained in:
Martin/Geno 2019-06-23 01:09:23 +02:00
parent 850d841eb4
commit 1b9b5662fb
No known key found for this signature in database
GPG Key ID: 9D7D3C6BFF600C6A
2 changed files with 8 additions and 8 deletions

View File

@ -4,14 +4,14 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>FreifunkManager</title>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<link rel="manifest" href="manifest.json">
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#5bbad5">
<meta name="theme-color" content="#ffffff">
<link rel="stylesheet" href="/styles.css">
<script src="/app.js"></script>
<link rel="stylesheet" href="styles.css">
<script src="app.js"></script>
</head>
<body>
<noscript>

View File

@ -3,7 +3,7 @@
export default {
'title': 'FreifunkManager - Breminale',
'backend': `ws${location.protocol == 'https:' ? 's' : ''}://${location.host}/ws`,
'backend': `ws${location.protocol == 'https:' ? 's' : ''}://${location.host}${location.pathname}ws`,
'node': {
'channel24': 6,
'channel5': 44,