feat: 外部配置请求连接

This commit is contained in:
TsMask
2023-10-17 14:24:30 +08:00
parent 2d98d257cc
commit a1a93d290f
2 changed files with 3 additions and 1 deletions

View File

@@ -7,6 +7,8 @@
<title> </title> <title> </title>
<link rel="preload" href="/loading.js" as="script"> <link rel="preload" href="/loading.js" as="script">
<script async src="/loading.js"></script> <script async src="/loading.js"></script>
<link rel="preload" href="/config.js" as="script">
<script async src="/config.js"></script>
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>

View File

@@ -3,7 +3,7 @@
*/ */
(function () { (function () {
// host = ip:prot // host = ip:prot
const host = "192.168.12.12:3030"; const host = "192.168.0.229:3186";
// 服务地址 // 服务地址
const baseUrl = `http://${host}` const baseUrl = `http://${host}`