Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
leafac committed Nov 13, 2024
1 parent d0c0041 commit 8a6acf2
Show file tree
Hide file tree
Showing 4 changed files with 768 additions and 813 deletions.
7 changes: 3 additions & 4 deletions configuration/development.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,16 @@ import path from "node:path";
import * as caddy from "@radically-straightforward/caddy";

export default {
hostname: process.env.TUNNEL ?? os.hostname(),
hostname: process.env.HOSTNAME ?? "localhost",
tls: {
key: path.join(
caddy.dataDirectory(),
`certificates/local/${os.hostname()}/${os.hostname()}.key`,
`certificates/local/localhost/localhost.key`,
),
certificate: path.join(
caddy.dataDirectory(),
`certificates/local/${os.hostname()}/${os.hostname()}.crt`,
`certificates/local/localhost/localhost.crt`,
),
},
environment: "development",
tunnel: typeof process.env.TUNNEL === "string",
};
Loading

0 comments on commit 8a6acf2

Please sign in to comment.