mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
8 lines
150 B
JavaScript
8 lines
150 B
JavaScript
/* eslint-disable no-console */
|
|
|
|
import { registerSW } from "virtual:pwa-register";
|
|
|
|
if (process.env.NODE_ENV === "production") {
|
|
registerSW();
|
|
}
|