Activities of "maliming"

I need the steps to reproduce this problem. Can you try it in your local computer ?

hi

It seems that your application did not find this file.

[INF] Request finished HTTP/1.1 GET http://abptest-dev.azurewebsites.net/index.html - - - 302 0 - 52.5579ms
[INF] Request starting HTTP/1.1 GET http://abptest-dev.azurewebsites.net/?httpStatusCode=404 - 0

I add a index.html file to wwwroot and http://localhost/index.html works.

Ravisha is not able to answer to your reply from his account as always he is getting error popup saying "you are not authorized"

Can you try to re-login?

hi @Abhinandan

The index.html exists in wwwroot folder, right? Can you confirm?

hi

angular route didn't load after that

Can you share the browser's console & app logs?

hi @Mehmet

Do you have any ideas?

hi

return Redirect("/index.html"); Does the first load work now? Does the routing work after refreshing the page?

hi

I think there may be duplicate name in cliams.

The following code may solve this problem. https://github.com/abpframework/abp/issues/8053 https://github.com/abpframework/abp/commit/e6ab80f6c62961a77b55e6c124ddc56581cdb9a7

hi Leonardo.Willrich

Can you share your current profile? What is the html of name element?

hi Ravisha

It seems to be the right approach. return Redirect("/index.html");

Does the first load work now? Does the routing work after refreshing the page?

There is example to handle the refresh.

<!-- IIS URL Rewrite for Angular routes -->
<rewrite>
  <rules>
    <rule name="Angular Routes" stopProcessing="true">
      <match url=".*" />
      <conditions logicalGrouping="MatchAll">
        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
        <add input="{REQUEST_URI}" pattern="^/(api)" negate="true" />
      </conditions>
      <action type="Rewrite" url="/" />
    </rule>
  </rules>
</rewrite>
Showing 7601 to 7610 of 8469 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11