fix(deploy): force stop existing next service
This commit is contained in:
@@ -178,7 +178,7 @@ export function ChatScreen() {
|
||||
return;
|
||||
}
|
||||
|
||||
UrlLauncherUtil.openUrlWithExternalBrowser(ROUTES.chat);
|
||||
UrlLauncherUtil.openUrlWithExternalBrowser(ROUTES.splash);
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
import { useEffect } from "react";
|
||||
|
||||
import { BrowserDetector } from "@/utils/browser-detect";
|
||||
import { AppEnvUtil } from "@/utils/app-env";
|
||||
import { SpAsyncUtil } from "@/utils/storage";
|
||||
import { pwaUtil } from "@/utils/pwa";
|
||||
|
||||
@@ -37,7 +38,7 @@ export function PwaInstallOverlay() {
|
||||
// 提前挂 beforeinstallprompt 监听,避免用户点 OK 时事件已在更早时机丢失。
|
||||
pwaUtil.prepareInstallPrompt();
|
||||
|
||||
const isDev = process.env.NODE_ENV === "development";
|
||||
const isDev = AppEnvUtil.isDevelopment();
|
||||
|
||||
if (!isDev) {
|
||||
// 生产环境:每日只弹一次(防骚扰)
|
||||
|
||||
Reference in New Issue
Block a user