-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
see if you can link a repo to a different folder
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
rss-bridge-action |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<html> | ||
<body> | ||
<script> | ||
(async () => { | ||
const response = await fetch('https://api.github.com/repos/phantop/rss-bridge-action/contents/'); | ||
const data = await response.json(); | ||
let htmlString = '<ul>'; | ||
|
||
for (let file of data) { | ||
htmlString += `<li><a href="${file.path}">${file.name}</a></li>`; | ||
} | ||
|
||
htmlString += '</ul>'; | ||
document.getElementsByTagName('body')[0].innerHTML = htmlString; | ||
})() | ||
</script> | ||
<body> | ||
</html> |