misc commentary

This commit is contained in:
2024-08-12 18:51:41 -06:00
parent 53e77e46dd
commit b922675491
5 changed files with 6 additions and 3 deletions

View File

@@ -2,6 +2,7 @@
import { register } from "register-service-worker";
// NODE_ENV is "production" by default with "vite build". See https://vitejs.dev/guide/env-and-mode
if (import.meta.env.NODE_ENV === "production") {
register("/sw_scripts-combined.js", {
ready() {