Add support for serving files when API doesn't return good result.
Some checks failed
/ basic (push) Failing after 19s

This commit is contained in:
天クマ 2026-05-15 18:00:59 -03:00
commit 486cbfb6b4
6 changed files with 352 additions and 18 deletions

26
default-pages/index.html Normal file
View file

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="UTF-8">
<title>Inspiran</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="main.css" rel="stylesheet">
</head>
<body>
<div id="everythingHelper">
<header>
<img id="logo" src="./logo.svg" alt="Forgejo Pages logo">
<div>
<h1>Forgejo Pages</h1>
<a id="headerSubtitle"><i>Make any branch available to the internet!</i></a>
</div>
</header>
<div id="mainHelper">
<main>
<h1>Hello, there!</h1>
<p>You've hit the root of this instance of Forgejo Pages. To access further content, please access <i class="noWrap"><b>./username/repo</b></i>.</p>
</main>
</div>
</div>
</body>
</html>