js net::ERR_ABORTED 404(未找到)

问题描述 投票:0回答:0

我在 Azure DevOps 中使用 Allure 报告,并在 Azure 存储帐户中托管此报告。我想在我的汇合页面上分享这份报告。为了实现这个我使用宏“HTML include”。但是当我尝试分享我的魅力报告时,我遇到错误“js net::ERR_ABORTED 404(未找到)”

我在天蓝色存储帐户中的结构如下:

我的index.html是这样的:

<!DOCTYPE html>
<html dir="ltr">
<head>
    <meta charset="utf-8">
    <title>Allure Report</title>
    <link rel="favicon" href="favicon.ico?v=2">
    <link rel="stylesheet" type="text/css" href="styles.css">
        <link rel="stylesheet" href="plugins/screen-diff/styles.css">
</head>
<body>
<div id="alert"></div>
<div id="content">
    <span class="spinner">
        <span class="spinner__circle"></span>
    </span>
</div>
<div id="popup"></div>
<script src="app.js"></script>
    <script src="plugins/behaviors/index.js"></script>
    <script src="plugins/packages/index.js"></script>
    <script src="plugins/screen-diff/index.js"></script>
</body>
</html>

我调查了我的问题,如果我添加了“script src”的绝对路径,例如“

javascript html azure confluence allure
© www.soinside.com 2019 - 2024. All rights reserved.