jaspersoft 可视化身份验证未定义 url 段

jaspersoft visualize auth undefined url segment

为什么我在 console.log 中看到这个(身份验证被阻止)

http://example.com/jasperserver-pro/undefined/require.config.js 404

使用时

 visualize(
     {
        server: 'http://example.com/jasperserver-pro/',
        auth: {
           token: authToken,
           preAuth: true,
           tokenName: "pp"
        },
     },

与文档不同,我的 visualize.js 不在 /client 中,而是在 /optimized-scripts 中,这会导致问题吗? /client 是硬编码的吗?

/client 是硬编码的,不在文件系统上。不明显,也没有记录。