Take portfolio offline with blank pages and blocked API routes

This commit is contained in:
StormRunner06106
2026-10-13 02:49:40 -07:00
parent 347ade6df7
commit 7fb83ea46c
6 changed files with 84 additions and 39 deletions
+2
View File
@@ -2,6 +2,8 @@ import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
export default defineConfig({
// Do not publish photos, verification files, or other assets while offline.
publicDir: false,
plugins: [react()],
define: {
"import.meta.env.VITE_MAX_UPLOAD_MB": JSON.stringify(process.env.VERCEL === "1" ? 4 : 20),