Update
This commit is contained in:
parent
2e02d1ef06
commit
d5fba18a97
|
@ -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`);
|
||||
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue