diff --git a/fresh.gen.ts b/fresh.gen.ts index 93166f2..7e70a2a 100644 --- a/fresh.gen.ts +++ b/fresh.gen.ts @@ -7,7 +7,7 @@ import * as $_404 from "./routes/_404.tsx"; import * as $_app from "./routes/_app.tsx"; import * as $api from "./routes/api.tsx"; import * as $api_paste_ from "./routes/api/[paste].ts"; -import * as $api_new_paste_ from "./routes/api/new.ts"; +import * as $api_new from "./routes/api/new.ts"; import * as $api_raw_paste_ from "./routes/api/raw/[paste].ts"; import * as $index from "./routes/index.tsx"; import * as $CopyButton from "./islands/CopyButton.tsx"; @@ -20,7 +20,7 @@ const manifest = { "./routes/_app.tsx": $_app, "./routes/api.tsx": $api, "./routes/api/[paste].ts": $api_paste_, - "./routes/api/new.ts": $api_new_paste_, + "./routes/api/new.ts": $api_new, "./routes/api/raw/[paste].ts": $api_raw_paste_, "./routes/index.tsx": $index, }, diff --git a/routes/[paste].tsx b/routes/[paste].tsx index 06b81bb..efc49e8 100644 --- a/routes/[paste].tsx +++ b/routes/[paste].tsx @@ -33,7 +33,6 @@ export default function Greet(props: PageProps) { Raw diff --git a/routes/_app.tsx b/routes/_app.tsx index 9fd8fd5..948b763 100644 --- a/routes/_app.tsx +++ b/routes/_app.tsx @@ -5,7 +5,21 @@ export default function App({ Component }: PageProps) { - FreshPaste + Fresh Paste + + + + + + + + @@ -44,8 +58,7 @@ export default function App({ Component }: PageProps) { /> - - - + Fresh Paste - API