chore: re-arranged assets b5546319
Steve · 2026-03-26 19:48 13 file(s) · +16 −8
index.html +7 −7
6 6
      name="viewport"
7 7
      content="width=device-width, initial-scale=1.0, user-scalable=no"
8 8
    />
9 -
    <link rel="apple-touch-icon" sizes="180x180" href="https://dino.stevedylan.dev/assets/apple-touch-icon.png">
10 -
    <link rel="icon" type="image/png" sizes="32x32" href="https://dino.stevedylan.dev/assets/favicon-32x32.png">
11 -
    <link rel="icon" type="image/png" sizes="16x16" href="https://dino.stevedylan.dev/assets/favicon-16x16.png">
12 -
    <link rel="manifest" href="https://dino.stevedylan.dev/assets/site.webmanifest">
13 -
    <link rel="shortcut icon" type="image/png" href="https://dino.stevedylan.dev/assets/favicon.png" />
9 +
    <link rel="apple-touch-icon" sizes="180x180" href="https://dino.stevedylan.dev/apple-touch-icon.png">
10 +
    <link rel="icon" type="image/png" sizes="32x32" href="https://dino.stevedylan.dev/favicon-32x32.png">
11 +
    <link rel="icon" type="image/png" sizes="16x16" href="https://dino.stevedylan.dev/favicon-16x16.png">
12 +
    <link rel="manifest" href="https://dino.stevedylan.dev/site.webmanifest">
13 +
    <link rel="shortcut icon" type="image/png" href="https://dino.stevedylan.dev/favicon.png" />
14 14
    <title>Dino</title>
15 15
    <meta property="og:title" content="Dino" />
16 16
    <meta property="og:description" content="Just the dino" />
17 -
    <meta property="og:image" content="https://dino.stevedylan.dev/assets/og.png" />
17 +
    <meta property="og:image" content="https://dino.stevedylan.dev/og.png" />
18 18
    <meta property="og:type" content="website" />
19 19
    <meta name="twitter:card" content="summary_large_image" />
20 20
    <meta name="twitter:title" content="Dino" />
21 21
    <meta name="twitter:description" content="Just the dino" />
22 -
    <meta name="twitter:image" content="https://dino.stevedylan.dev/assets/og.png" />
22 +
    <meta name="twitter:image" content="https://dino.stevedylan.dev/og.png" />
23 23
    <link rel="stylesheet" href="./src/style.css" />
24 24
  </head>
25 25
  <body>
index.ts +8 −0
8 8
      const file = Bun.file(`./public${url.pathname}`);
9 9
      return new Response(file);
10 10
    },
11 +
    "/*": async (req) => {
12 +
      const url = new URL(req.url);
13 +
      const file = Bun.file(`./public${url.pathname}`);
14 +
      if (await file.exists()) {
15 +
        return new Response(file);
16 +
      }
17 +
      return new Response("Not found", { status: 404 });
18 +
    },
11 19
  },
12 20
  development: {
13 21
    hmr: true,
package.json +1 −1
5 5
  "private": true,
6 6
  "scripts": {
7 7
    "dev": "bun --hot index.ts",
8 -
    "build": "bun build ./index.html --outdir ./dist && cp -r ./public/assets ./dist/assets"
8 +
    "build": "bun build ./index.html --outdir ./dist && cp -r ./public/assets ./dist/assets && cp ./public/*.png ./public/*.ico ./public/*.webmanifest ./dist/"
9 9
  },
10 10
  "devDependencies": {
11 11
    "@types/bun": "latest"
public/assets/android-chrome-192x192.png → public/android-chrome-192x192.png +0 −0

Binary file — no preview.

public/assets/android-chrome-512x512.png → public/android-chrome-512x512.png +0 −0

Binary file — no preview.

public/assets/apple-touch-icon.png → public/apple-touch-icon.png +0 −0

Binary file — no preview.

public/assets/favicon-16x16.png → public/favicon-16x16.png +0 −0

Binary file — no preview.

public/assets/favicon-32x32.png → public/favicon-32x32.png +0 −0

Binary file — no preview.

public/assets/favicon.ico → public/favicon.ico +0 −0

Binary file — no preview.

public/assets/favicon.png → public/favicon.png +0 −0

Binary file — no preview.

public/assets/icon.png → public/icon.png +0 −0

Binary file — no preview.

public/assets/og.png → public/og.png +0 −0

Binary file — no preview.

public/assets/site.webmanifest → public/site.webmanifest +0 −0