-
+
NodeWarden
diff --git a/webapp/src/styles.css b/webapp/src/styles.css
index c063a2b..8f4c0ce 100644
--- a/webapp/src/styles.css
+++ b/webapp/src/styles.css
@@ -235,14 +235,15 @@ body,
.brand {
display: inline-flex;
align-items: center;
- gap: 10px;
font-size: 34px;
font-weight: 800;
color: #1e293b;
}
-.brand-icon {
- color: #334155;
+.brand-logo {
+ width: 57px;
+ height: 57px;
+ object-fit: contain;
}
.topbar-actions {
diff --git a/webapp/vite.config.ts b/webapp/vite.config.ts
index 9023388..20da10f 100644
--- a/webapp/vite.config.ts
+++ b/webapp/vite.config.ts
@@ -14,7 +14,7 @@ export default defineConfig({
},
},
build: {
- outDir: path.resolve(rootDir, '../public'),
+ outDir: path.resolve(rootDir, '../dist'),
emptyOutDir: false,
sourcemap: true,
},
@@ -28,8 +28,6 @@ export default defineConfig({
'/config': 'http://127.0.0.1:8787',
'/notifications': 'http://127.0.0.1:8787',
'/.well-known': 'http://127.0.0.1:8787',
- '/favicon.ico': 'http://127.0.0.1:8787',
- '/favicon.svg': 'http://127.0.0.1:8787',
},
},
});
diff --git a/wrangler.toml b/wrangler.toml
index e6c8961..9934546 100644
--- a/wrangler.toml
+++ b/wrangler.toml
@@ -1,7 +1,7 @@
name = "nodewarden"
main = "src/index.ts"
compatibility_date = "2024-01-01"
-assets = { directory = "./public", not_found_handling = "single-page-application", run_worker_first = ["/api/*", "/identity/*", "/icons/*", "/setup/*", "/config", "/notifications/*", "/.well-known/*", "/favicon.ico", "/favicon.svg"] }
+assets = { directory = "./dist", not_found_handling = "single-page-application", run_worker_first = ["/api/*", "/identity/*", "/icons/*", "/setup/*", "/config", "/notifications/*", "/.well-known/*"] }
# D1 Database for storing vault data
[[d1_databases]]