AFrame-在Worker 404上加载标记时出错



我在加载nft标记时遇到问题,我就是这么做的:

<!DOCTYPE html>
<html lang="en">
<html>
<head>
<script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>
<script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar-nft.js"></script>
<body style='margin : 0px; overflow: hidden;'>
<a-scene embedded arjs="trackingMethod: best; sourceType: webcam;debugUIEnabled: false;">

<a-nft
type="nft"
url="nftmarkers/pinball"
smooth="true"
smoothCount="10"
smoothTolerance=".01"
smoothThreshold="5">
<a-box position='0 0.5 0' ></a-box>
</a-nft>
<a-camera></a-camera>
</a-scene>
</body>
</html>

这就是它返回给我的错误:

432abd3a-f330-4cc8-8c03-faa918143656:76 Error in loading marker on Worker 404

问题是我的服务器将页面作为结果发送,而不是发送内容。我修复了将网络应用程序发送到firebase的问题。

相关内容

最新更新