Compare commits
No commits in common. "3dc377f9e6a7f3ab23bd57f6b4ce6f46893c0a77" and "789825614eecd89642d4b4bb051f3b8960127d3c" have entirely different histories.
3dc377f9e6
...
789825614e
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "baudy",
|
||||
"version": "0.0.8",
|
||||
"version": "0.0.7",
|
||||
"module": "index.tsx",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
|
|
|
|||
|
|
@ -22,16 +22,12 @@ app.get('/ggwave.js', () =>
|
|||
|
||||
startup(PORT)
|
||||
|
||||
const hasCerts = await Bun.file('./certs/cert.pem').exists()
|
||||
|
||||
export default {
|
||||
...app.defaults,
|
||||
port: PORT,
|
||||
idleTimeout: 255,
|
||||
...(hasCerts && {
|
||||
tls: {
|
||||
key: Bun.file('./certs/key.pem'),
|
||||
cert: Bun.file('./certs/cert.pem'),
|
||||
},
|
||||
}),
|
||||
tls: {
|
||||
key: Bun.file('./certs/key.pem'),
|
||||
cert: Bun.file('./certs/cert.pem'),
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user