tmp test for CORS
This commit is contained in:
parent
303eab8f46
commit
82530f1ec2
1 changed files with 15 additions and 4 deletions
|
@ -26,7 +26,7 @@ if (!$_SERVER['DOCUMENT_ROOT']) {
|
||||||
<meta name="author" content="Aliberk Sandıkçı">
|
<meta name="author" content="Aliberk Sandıkçı">
|
||||||
|
|
||||||
<!-- CSS Files -->
|
<!-- CSS Files -->
|
||||||
<link rel="stylesheet" type="text/css" href="/iflpanel/ssavpn/assets/css/main.css"> <!-- INNER CSS !!! -->
|
<link rel="stylesheet" type="text/css" href="/iflpanel/ssavpn/assets/css/main.css"> <!-- INNER CSS !!! -->
|
||||||
<link rel="stylesheet" type="text/css" href="/assets/css/extra_without_scss.css">
|
<link rel="stylesheet" type="text/css" href="/assets/css/extra_without_scss.css">
|
||||||
|
|
||||||
<title>
|
<title>
|
||||||
|
@ -61,7 +61,18 @@ if (!$_SERVER['DOCUMENT_ROOT']) {
|
||||||
echo '<script src="/assets/js/' . $file . '"></script>' . PHP_EOL . ' ';
|
echo '<script src="/assets/js/' . $file . '"></script>' . PHP_EOL . ' ';
|
||||||
}
|
}
|
||||||
} ?>
|
} ?>
|
||||||
<script src="../assets/copy.js"></script>
|
|
||||||
|
<script>
|
||||||
|
let url = 'https://git.aliberksandikci.com.tr/asandikci.com/www/raw/branch/main/donations.json';
|
||||||
|
|
||||||
|
fetch(url)
|
||||||
|
.then(res => res.json())
|
||||||
|
.then(out =>
|
||||||
|
console.log('Checkout this JSON! ', out))
|
||||||
|
.catch(err => {
|
||||||
|
throw err
|
||||||
|
});
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
Loading…
Reference in a new issue