Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cdleveille committed Oct 2, 2024
1 parent 393aecc commit 3e152ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { connectToDatabase, initSocket, log } from "@services";

const { IS_PROD, HOST, PORT, RELOAD_PORT, SKIP_DB } = Config;

const PUBLIC_DIR = path.join(process.cwd(), "./public");
const PUBLIC_DIR = path.join(process.cwd(), "public");

if (!SKIP_DB) await connectToDatabase();

Expand Down
6 changes: 3 additions & 3 deletions workbox-config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"globDirectory": "public",
"globDirectory": "./public",
"globPatterns": ["**/*.*"],
"swSrc": "public/sw.js",
"swDest": "public/sw.js",
"swSrc": "./public/sw.js",
"swDest": "./public/sw.js",
"maximumFileSizeToCacheInBytes": 5000000
}

0 comments on commit 3e152ee

Please sign in to comment.