Blazor Webassembly Core托管的基本Href区分大小写

时间:2020-08-03 17:03:54

标签: .net-core blazor blazor-webassembly

我正在构建Blazor WebAssembly Core托管应用程序。我在index.html文件的标题中添加了以下内容。

blazor.webassembly.js:1 System.ArgumentException: The URI 'https://somewhere.com/app/applicationname' is not contained by the base URI 'https://somewhere.com/app/ApplicationName/'.

导航到网站https://somewhere.com/app/applicationname时,在浏览器的控制台中出现以下错误:

{{1}}

此应用程序托管在IIS 10服务器上。我的问题是:

  1. 如何使其不区分大小写,并且
  2. 我如何使它不需要结尾的斜杠

0 个答案:

没有答案