mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-16 14:03:43 +08:00
change owner
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
import React, { useEffect } from "react";
|
||||||
import { Analytics } from "@vercel/analytics/react";
|
import { Analytics } from "@vercel/analytics/react";
|
||||||
|
|
||||||
import { Home } from "./components/home";
|
import { Home } from "./components/home";
|
||||||
@@ -8,7 +9,7 @@ const serverConfig = getServerSideConfig();
|
|||||||
|
|
||||||
export default function App() {
|
export default function App() {
|
||||||
// 使用 useEffect 加载 Hotjar 脚本
|
// 使用 useEffect 加载 Hotjar 脚本
|
||||||
React.useEffect(() => {
|
useEffect(() => {
|
||||||
if (serverConfig?.isVercel) {
|
if (serverConfig?.isVercel) {
|
||||||
(function (h, o, t, j, a, r) {
|
(function (h, o, t, j, a, r) {
|
||||||
h.hj =
|
h.hj =
|
||||||
|
|||||||
Reference in New Issue
Block a user