This commit is contained in:
Valeria Fadeeva 2023-12-12 13:29:14 +05:00
parent 2e02d1ef06
commit d5fba18a97
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
let tplUrl = 'mas-tpl.html';
let tplUrl = 'json/mas-tpl.html';
let response = await fetch(tplUrl);
var tpl = "";
let log = document.getElementById('log');
@ -32,7 +32,7 @@ async function fetchData() {
var server_address = `techhub.social`;
const response = await fetch('posts.json');
const response = await fetch('json/posts.json');
// const response = await fetch(`https://${server_address}/api/v1/accounts/111518136987654656/statuses`);

View File

@ -5,6 +5,6 @@
</head>
<body>
<div id="log"></div>
<script src="json/index.js" type="module" async="async"></script>
<script src="assets/js/mastodon.js" type="module" async="async"></script>
</body>
</html>