feat:

This commit is contained in:
john 2024-07-16 18:32:35 +08:00
parent bf0de64b8e
commit df201eaae9
2 changed files with 6 additions and 6 deletions

View File

@ -1,11 +1,11 @@
### ###
# @LastEditors: John # @LastEditors: John
# @Date: 2024-06-26 15:04:10 # @Date: 2024-06-26 15:04:10
# @LastEditTime: 2024-07-16 17:46:44 # @LastEditTime: 2024-07-16 18:05:27
# @Author: John # @Author: John
### ###
VITE_BASE_URL=https://campaign.pineer.cc VITE_BASE_URL=https://campaign.pineer.cc
VITE_BASE_API_URL=/api VITE_BASE_API_URL=/api
VITE_TG_COMMUNITY=+Juxrx7_My5czYjE1 VITE_TG_COMMUNITY=+Juxrx7_My5czYjE1
VITE_TG_BOT_NAME=Pioneerer_bot VITE_TG_BOT_NAME=Pioneerer_bot
VITE_TG_BOT_WEBAPP_NAME= VITE_TG_BOT_WEBAPP_NAME=pioneer

View File

@ -1,7 +1,7 @@
/* /*
* @LastEditors: John * @LastEditors: John
* @Date: 2024-07-13 10:21:58 * @Date: 2024-07-13 10:21:58
* @LastEditTime: 2024-07-16 17:52:30 * @LastEditTime: 2024-07-16 18:06:25
* @Author: John * @Author: John
*/ */
import ReactDOM from "react-dom/client"; import ReactDOM from "react-dom/client";
@ -13,9 +13,9 @@ import VConsole from "vconsole";
import flexible from "./utils/flexible.ts"; import flexible from "./utils/flexible.ts";
import { getUrlParameterByName } from "./utils/index.ts"; import { getUrlParameterByName } from "./utils/index.ts";
if (getUrlParameterByName("vconsole") === "1") { // if (getUrlParameterByName("vconsole") === "1") {
new VConsole(); new VConsole();
} // }
flexible(window, document); flexible(window, document);
ReactDOM.createRoot(document.getElementById("root")!).render( ReactDOM.createRoot(document.getElementById("root")!).render(
// <WebAppProvider> // <WebAppProvider>