Skip to content

Commit

Permalink
Some build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorTom327 committed Nov 21, 2024
1 parent 787dacc commit 141f5f9
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
3 changes: 1 addition & 2 deletions app/lib/env.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ export const publicEnvSchema = zod.object({
NODE_ENV: zod.enum(["development", "production", "test"]),
APP_NAME: zod.string().default("Valentin Thomas"),
APP_URL: zod.string().default("https://www.valentin-thomas.com"),
VERCEL_ANALYTICS_ID: zod.string().optional(),
VERCEL_URL: zod
COOLIFY_URL: zod
.string()
.optional()
.default("https://www.valentin-thomas.com"),
Expand Down
11 changes: 6 additions & 5 deletions app/routes/health.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { json } from "@remix-run/node"
import { json } from "@remix-run/node";

export const loader = () => {
return json({
status: 'healthy'
})
}
return json({
status: "healthy",
buildDate: BUILD_DATE,
});
};
2 changes: 1 addition & 1 deletion app/routes/sitemap[.xml]/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const loader = async ({ request }: LoaderFunctionArgs) => {

const dateContent = isDevelopment() ? new Date().toISOString() : BUILD_DATE;

const host = getEnv("VERCEL_URL");
const host = getEnv("COOLIFY_URL");

const xmlContent = [
`<?xml version="1.0" encoding="UTF-8"?>`,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"classnames": "^2.5.1",
"clsx": "^2.1.1",
"crypto-js": "^4.1.1",
"isbot": "^5.1.17",
"isbot": "3.8.0",
"lucide-react": "^0.427.0",
"luxon": "^3.5.0",
"nodemailer": "^6.9.14",
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6195,16 +6195,16 @@ isarray@~1.0.0:
resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==

[email protected]:
version "3.8.0"
resolved "https://registry.yarnpkg.com/isbot/-/isbot-3.8.0.tgz#b1f8e3d19aca0961b5ed27b62bb8bb0a275781e4"
integrity sha512-vne1mzQUTR+qsMLeCBL9+/tgnDXRyc2pygLGl/WsgA+EZKIiB5Ehu0CiVTHIIk30zhJ24uGz4M5Ppse37aR0Hg==

isbot@^3.6.8:
version "3.7.1"
resolved "https://registry.yarnpkg.com/isbot/-/isbot-3.7.1.tgz#83655e59bfae8cd410d3c63b398c8ad813bf3fdf"
integrity sha512-JfqOaY3O1lcWt2nc+D6Mq231CNpwZrBboLa59Go0J8hjGH+gY/Sy0CA/YLUSIScINmAVwTdJZIsOTk4PfBtRuw==

isbot@^5.1.17:
version "5.1.17"
resolved "https://registry.yarnpkg.com/isbot/-/isbot-5.1.17.tgz#ad7da5690a61bbb19056a069975c9a73182682a0"
integrity sha512-/wch8pRKZE+aoVhRX/hYPY1C7dMCeeMyhkQLNLNlYAbGQn9bkvMB8fOUXNnk5I0m4vDYbBJ9ciVtkr9zfBJ7qA==

isexe@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"
Expand Down

0 comments on commit 141f5f9

Please sign in to comment.