update ignore & package

This commit is contained in:
SrGooglo 2024-09-10 00:12:19 +00:00
parent 18d860c271
commit 2abb4f4bb3
6 changed files with 11 additions and 8 deletions

1
.gitignore vendored
View File

@ -3,6 +3,7 @@
/**/**/origin.server
/**/**/server.manifest
/**/**/server.registry
/**/**/.ssl
/**/**/_shared

@ -1 +1 @@
Subproject commit 99c85b81ef65c2ccabb71c0f6c4d7f9df86e4de6
Subproject commit fac6a9f0d142970f9c4633b6a54d0d8adf48b2b6

@ -1 +1 @@
Subproject commit 13b01b21d6b63ecddd8625781a69355861d38db5
Subproject commit d2e6f1bc5856e3084d4fd068dec5d67ab2ef9d8d

View File

@ -6,3 +6,4 @@ dist-ssr
.vscode
yarn-error.log
out/
.ssl

View File

@ -1,7 +1,7 @@
{
"name": "@comty/web-app",
"version": "0.70.0",
"license": "LGPL-2.1",
"version": "1.0.0-beta",
"license": "ComtyLicense",
"main": "electron/main",
"author": "RageStudio",
"description": "A prototype of a social network.",
@ -90,6 +90,7 @@
"react-icons": "^4.8.0",
"react-intersection-observer": "8.33.1",
"react-lazy-load-image-component": "^1.5.4",
"react-lazyload": "^3.2.1",
"react-markdown": "^8.0.3",
"react-modal-image": "^2.6.0",
"react-motion": "0.5.2",

View File

@ -20,8 +20,8 @@ export default defineConfig({
allow: ["..", "../../"],
},
https: {
key: path.join(__dirname, "ssl", "privkey.pem"),
cert: path.join(__dirname, "ssl", "cert.pem"),
key: path.join(__dirname, ".ssl", "privkey.pem"),
cert: path.join(__dirname, ".ssl", "cert.pem"),
},
headers: {
"Strict-Transport-Security": `max-age=${oneYearInSeconds}`