diff --git a/.gitignore b/.gitignore index 50e7ce7..db36c85 100644 --- a/.gitignore +++ b/.gitignore @@ -48,4 +48,4 @@ package-lock.json /data /Bruno /tsconfig.tsbuildinfo -/src/public/generated.css \ No newline at end of file +/public/generated.css diff --git a/Dockerfile b/Dockerfile index dca99c7..8ebb307 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,7 +57,7 @@ RUN apk --no-cache add \ COPY --from=install /temp/prod/node_modules node_modules COPY --from=builder /root/.cargo/bin/resvg /usr/local/bin/resvg -COPY --from=prerelease /app/src/public/generated.css /app/src/public/ +COPY --from=prerelease /app/public/generated.css /app/public/ # COPY --from=prerelease /app/src/index.tsx /app/src/ # COPY --from=prerelease /app/package.json . COPY . . diff --git a/bun.lockb b/bun.lockb index 171ff68..fb93e98 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 3a08d44..783be87 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "dev": "bun run --watch src/index.tsx", "hot": "bun run --hot src/index.tsx", "format": "eslint --fix .", - "build": "postcss ./src/main.css -o ./src/public/generated.css", + "build": "postcss ./src/main.css -o ./public/generated.css", "lint": "run-p 'lint:*'", "lint:tsc": "tsc --noEmit", "lint:knip": "knip", @@ -15,7 +15,7 @@ "@elysiajs/cookie": "^0.8.0", "@elysiajs/html": "^1.1.1", "@elysiajs/jwt": "^1.1.1", - "@elysiajs/static": "1.0.3", + "@elysiajs/static": "^1.1.1", "elysia": "^1.1.22" }, "module": "src/index.tsx", diff --git a/src/public/android-chrome-192x192.png b/public/android-chrome-192x192.png similarity index 100% rename from src/public/android-chrome-192x192.png rename to public/android-chrome-192x192.png diff --git a/src/public/android-chrome-512x512.png b/public/android-chrome-512x512.png similarity index 100% rename from src/public/android-chrome-512x512.png rename to public/android-chrome-512x512.png diff --git a/src/public/apple-touch-icon.png b/public/apple-touch-icon.png similarity index 100% rename from src/public/apple-touch-icon.png rename to public/apple-touch-icon.png diff --git a/src/public/favicon-16x16.png b/public/favicon-16x16.png similarity index 100% rename from src/public/favicon-16x16.png rename to public/favicon-16x16.png diff --git a/src/public/favicon-32x32.png b/public/favicon-32x32.png similarity index 100% rename from src/public/favicon-32x32.png rename to public/favicon-32x32.png diff --git a/src/public/favicon.ico b/public/favicon.ico similarity index 100% rename from src/public/favicon.ico rename to public/favicon.ico diff --git a/src/public/results.js b/public/results.js similarity index 100% rename from src/public/results.js rename to public/results.js diff --git a/src/public/robots.txt b/public/robots.txt similarity index 100% rename from src/public/robots.txt rename to public/robots.txt diff --git a/src/public/script.js b/public/script.js similarity index 100% rename from src/public/script.js rename to public/script.js diff --git a/src/public/site.webmanifest b/public/site.webmanifest similarity index 100% rename from src/public/site.webmanifest rename to public/site.webmanifest diff --git a/renovate.json b/renovate.json index 83ae79a..2d3f60e 100644 --- a/renovate.json +++ b/renovate.json @@ -3,5 +3,9 @@ "extends": [ "config:recommended", ":disableDependencyDashboard" - ] + ], + "lockFileMaintenance": { + "enabled": true, + "automerge": true + } } \ No newline at end of file diff --git a/src/index.tsx b/src/index.tsx index bd5761c..8c6e936 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -127,8 +127,8 @@ const app = new Elysia({ ) .use( staticPlugin({ - assets: "src/public/", - prefix: "/", + assets: "public", + prefix: "", }), ) .get("/test", () => {