aboutsummaryrefslogtreecommitdiffstats
path: root/js/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'js/index.php')
-rw-r--r--js/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/index.php b/js/index.php
index a9a07a3..48bc9c6 100644
--- a/js/index.php
+++ b/js/index.php
@@ -21,4 +21,5 @@
//header('Access-Control-Allow-Methods: GET');
header('Content-Type: text/javascript;charset=utf-8');
header(sprintf('Expires: %s', gmdate('r', strtotime('+2 day'))));
+echo str_replace('nav.mageia.org', $_SERVER['HTTP_HOST'], file_get_contents('../../g/js/jquery-3.2.1.min.js'));
echo str_replace('nav.mageia.org', $_SERVER['HTTP_HOST'], file_get_contents('source.js'));