Upgrade Fresh and add a bunch of small QOL improvements #16

Merged
timharek merged 21 commits from chore-upgrade-fresh into main 2024-03-24 12:41:18 +00:00
2 changed files with 18 additions and 0 deletions
Showing only changes of commit 00d25a1b61 - Show all commits

View File

@ -2,6 +2,7 @@
// This file SHOULD be checked into source version control.
// This file is automatically updated during development when running `dev.ts`.
import * as $_app from "./routes/_app.tsx";
import * as $api_feeds_seriesId_ from "./routes/api/feeds/[seriesId].ts";
import * as $api_feeds_seriesId_episodeId_chapters from "./routes/api/feeds/[seriesId]/[episodeId]/chapters.ts";
import * as $index from "./routes/index.tsx";
@ -10,6 +11,7 @@ import { type Manifest } from "$fresh/server.ts";
const manifest = {
routes: {
"./routes/_app.tsx": $_app,
"./routes/api/feeds/[seriesId].ts": $api_feeds_seriesId_,
"./routes/api/feeds/[seriesId]/[episodeId]/chapters.ts": $api_feeds_seriesId_episodeId_chapters,
"./routes/index.tsx": $index,

16
routes/_app.tsx Normal file
View File

@ -0,0 +1,16 @@
import { PageProps } from "$fresh/server.ts";
export default function App({ Component }: PageProps) {
return (
<html lang="no">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>NRSS</title>
</head>
<body>
<Component />
</body>
</html>
);
}