langningchen / XMOJ-Script

XMOJ增强脚本
https://web.xmoj-bbs.tech
GNU General Public License v3.0
5 stars 1 forks source link

[Bug] addonscript用不了 #593

Closed boomzero closed 1 year ago

boomzero commented 1 year ago

检查项

描述

rt

重现步骤

No response

控制台错误信息

The script from “http://www.xmoj.tech/template/bs3/profile.php?121437740” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type. discuss.php
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://langningchen.github.io/XMOJ-Script/Update.json. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 301.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://langningchen.github.io/XMOJ-Script/AddonScript.js. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 301.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://langningchen.github.io/XMOJ-Script/Update.json. (Reason: CORS request did not succeed). Status code: (null).
Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://langningchen.github.io/XMOJ-Script/AddonScript.js. (Reason: CORS request did not succeed). Status code: (null).
Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource.
langningchen commented 1 year ago

590

PythonSmall-Q commented 1 year ago

emm接手了,他就摆了。有问题去我那个仓库找我修 @boomzero

PythonSmall-Q commented 1 year ago

@langningchen 看看这个:http://www.xmoj.tech/discuss3/thread.php?tid=217

langningchen commented 1 year ago

@PythonSmall-Q 新的Server还是旧的?