Skip to content
This repository was archived by the owner on Jul 26, 2022. It is now read-only.

Commit a0ab290

Browse files
authored
Update small-header.php
1 parent 6b3cc23 commit a0ab290

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pages/small-header.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
<head>
44
<meta charset="UTF-8"/>
55
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
6-
<link href="/assets/styles.css" rel="stylesheet">
7-
<script src="/assets/js/charts-ram.js" defer></script>
8-
<script src="/assets/js/charts-cpu.js" defer></script>
6+
<link href="<?= \webinterface\main::getUrl(); ?>/assets/styles.css" rel="stylesheet">
7+
<script src="<?= \webinterface\main::getUrl(); ?>/assets/js/charts-ram.js" defer></script>
8+
<script src="<?= \webinterface\main::getUrl(); ?>/assets/js/charts-cpu.js" defer></script>
99
</head>
1010
<body class="dark:bg-gray-900 bg-gray-100">
1111
<script src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.x.x/dist/alpine.min.js" defer></script>
1212
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.4.0/Chart.min.js"></script>
1313
<div class="md:flex flex-col md:flex-row md:min-h-screen md:mx-auto w-full">
14-
<div class="w-full overflow-x-hidden flex flex-col">
14+
<div class="w-full overflow-x-hidden flex flex-col">

0 commit comments

Comments
 (0)