Skip to content

Commit 4eed05a

Browse files
committed
experimental openimg, fix port
1 parent 0ab4ad6 commit 4eed05a

4 files changed

Lines changed: 7 additions & 54 deletions

File tree

website/app/config.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ const MainConfigSchema = z
134134

135135
export type MainConfig = z.infer<typeof MainConfigSchema>;
136136

137-
const port = process.env.PORT ? Number.parseInt(process.env.PORT, 10) : 5173;
137+
const port = process.env.PORT ? Number.parseInt(process.env.PORT, 10) : 3000;
138138
export const mainConfig: MainConfig = validateConfigOrExit(MainConfigSchema, {
139139
instanceId: process.env.INSTANCE_ID || crypto.randomUUID(),
140140
logLevel: ["info", "debug"],

website/bun.lock

Lines changed: 2 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"lru-cache": "^11.0.2",
4747
"lucide-react": "^0.428.0",
4848
"morgan": "^1.10.0",
49-
"openimg": "^0.5.0",
49+
"openimg": "0.6.0-alpha.1",
5050
"posthog-js": "^1.184.2",
5151
"posthog-node": "^4.2.1",
5252
"qrcode": "^1.5.4",

website/vite.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ export default defineConfig(({ isSsrBuild, command }) => ({
1414
}
1515
: undefined,
1616
},
17+
server: {
18+
port: 3000,
19+
},
1720
ssr: {
1821
noExternal: command === "build" ? true : undefined,
1922
},

0 commit comments

Comments
 (0)