|
@@ -10,6 +10,13 @@ import PageLayout from './components/layout/PageLayout.js';
|
|
|
import './i18n/i18n.js';
|
|
import './i18n/i18n.js';
|
|
|
import './index.css';
|
|
import './index.css';
|
|
|
|
|
|
|
|
|
|
+// 欢迎信息(二次开发者不准将此移除)
|
|
|
|
|
+if (typeof window !== 'undefined') {
|
|
|
|
|
+ console.log('%cWe ❤ NewAPI%c Github: https://github.com/QuantumNous/new-api',
|
|
|
|
|
+ 'color: #10b981; font-weight: bold; font-size: 24px;',
|
|
|
|
|
+ 'color: inherit; font-size: 14px;');
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
// initialization
|
|
// initialization
|
|
|
|
|
|
|
|
const root = ReactDOM.createRoot(document.getElementById('root'));
|
|
const root = ReactDOM.createRoot(document.getElementById('root'));
|