mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-02 09:15:05 +08:00
修复服务器bug
This commit is contained in:
1 parent
a746823f63
commit
72e61ccf41
3 files changed
+79
-68
No files matched your search
@@ -105,7 +105,7 @@ export {};
|
||||
*/
|
||||
async function reloadData(data) {
|
||||
const script = document.createElement('script');
|
||||
script.src = `.forceTem/project/${data}.js?v=${Date.now()}`;
|
||||
script.src = `/forceTem/project/${data}.js?v=${Date.now()}`;
|
||||
document.body.appendChild(script);
|
||||
await new Promise(res => {
|
||||
script.onload = () => res('success');
|
||||
|
||||
Reference in new issue
Block a user