From ec36a14b0a5308c71233a5ff1644e4f76939ea09 Mon Sep 17 00:00:00 2001 From: Thad Kerosky Date: Wed, 14 Aug 2024 18:03:34 +0000 Subject: [PATCH 1/3] trial change --- heat-stack/app/routes/_heat+/single.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heat-stack/app/routes/_heat+/single.tsx b/heat-stack/app/routes/_heat+/single.tsx index 10f2f7d0..55c8ae9b 100644 --- a/heat-stack/app/routes/_heat+/single.tsx +++ b/heat-stack/app/routes/_heat+/single.tsx @@ -53,7 +53,7 @@ import { EnergyUseHistory } from '../../components/ui/heat/CaseSummaryComponents import { HomeInformation } from '../../components/ui/heat/CaseSummaryComponents/HomeInformation.tsx' import HeatLoadAnalysis from './heatloadanalysis.tsx' import { Button } from '#/app/components/ui/button.tsx' -import { createMemoryUploadHandler } from '@remix-run/server-runtime/dist/upload/memoryUploadHandler' +import { createMemoryUploadHandler } from '@remix-run/server-runtime/dist/upload/memoryUploadHandler.js' import { parseMultipartFormData } from '@remix-run/server-runtime/dist/formData' const nameMaxLength = 50 From 50d8012d2650ca74db30bf5a73264356158f9084 Mon Sep 17 00:00:00 2001 From: Thad Kerosky Date: Wed, 14 Aug 2024 18:21:17 +0000 Subject: [PATCH 2/3] trial change --- heat-stack/app/routes/_heat+/single.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heat-stack/app/routes/_heat+/single.tsx b/heat-stack/app/routes/_heat+/single.tsx index 55c8ae9b..b45659b5 100644 --- a/heat-stack/app/routes/_heat+/single.tsx +++ b/heat-stack/app/routes/_heat+/single.tsx @@ -54,7 +54,7 @@ import { HomeInformation } from '../../components/ui/heat/CaseSummaryComponents/ import HeatLoadAnalysis from './heatloadanalysis.tsx' import { Button } from '#/app/components/ui/button.tsx' import { createMemoryUploadHandler } from '@remix-run/server-runtime/dist/upload/memoryUploadHandler.js' -import { parseMultipartFormData } from '@remix-run/server-runtime/dist/formData' +import { parseMultipartFormData } from '@remix-run/server-runtime/dist/formData.js' const nameMaxLength = 50 const addressMaxLength = 100 From e9272b501be0406f2dd357f3aaff2e083d597ebc Mon Sep 17 00:00:00 2001 From: Thad Kerosky Date: Thu, 15 Aug 2024 19:41:34 +0000 Subject: [PATCH 3/3] remove PYODIDE_PATH for now. --- heat-stack/.env.example | 2 +- heat-stack/app/utils/env.server.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/heat-stack/.env.example b/heat-stack/.env.example index af9b6920..55a9a23f 100644 --- a/heat-stack/.env.example +++ b/heat-stack/.env.example @@ -2,7 +2,7 @@ LITEFS_DIR="/litefs/data" DATABASE_PATH="./prisma/data.db" DATABASE_URL="file:./data.db?connection_limit=1" CACHE_DATABASE_PATH="./other/cache.db" -PYODIDE_PATH="public/pyodide-env" +# PYODIDE_PATH="public/pyodide-env" SESSION_SECRET="super-duper-s3cret" HONEYPOT_SECRET="super-duper-s3cret" INTERNAL_COMMAND_TOKEN="some-made-up-token" diff --git a/heat-stack/app/utils/env.server.ts b/heat-stack/app/utils/env.server.ts index 6f490a95..3ce38ba3 100644 --- a/heat-stack/app/utils/env.server.ts +++ b/heat-stack/app/utils/env.server.ts @@ -3,7 +3,7 @@ import { z } from 'zod' const schema = z.object({ NODE_ENV: z.enum(['production', 'development', 'test'] as const), DATABASE_PATH: z.string(), - PYODIDE_PATH: z.string(), + // PYODIDE_PATH: z.string(), DATABASE_URL: z.string(), SESSION_SECRET: z.string(), INTERNAL_COMMAND_TOKEN: z.string(),