Skip to content

Commit

Permalink
Add index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
LiarOnce committed Apr 24, 2024
1 parent 185f90c commit 5443b69
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
15 changes: 15 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="Access-Control-Allow-Origin" content="*" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>openGiraffes Store DB</title>
</head>
<body>
<p>This is openGiraffes Store Database website, if you want to use database by self apps, you can use this URL:</p>
<pre><code>
https://storedb.opengiraffes.top/data.json
</code></pre>
</body>
</html>
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,8 @@ async function main() {

await fs.copyFile(join(__dirname, 'schema.json'), join(PUBLIC, 'schema.json'))

await fs.copyFile(join(__dirname, 'index.html'), join(PUBLIC, 'index.html'))

console.log("writing feed")
await fs.writeFile(join(PUBLIC, 'feed.xml'), await generate_feed(apps, categories))

Expand Down

0 comments on commit 5443b69

Please sign in to comment.