Open Closed

Not able to host Angular and API in one application after upgrade to 8.3 #7948


User avatar
0
tony.chen@sjrb.ca created
  • ABP Framework version: v8.3
  • UI Type: Angular
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Steps to reproduce the issue: upgrade to v8.3.0 from v8.2.1

I have these two lines in OnApplicationInitializationAsync function app.UseFileServer(); app.UseConfiguredEndpoints(x => x.MapFallbackToFile("index.html"));

Also, wwwroot default folder in bin folder with all angular files.

It's all working fine before upgrade to v8.3.0. Do we know what's changed in this new 8.3 version? and How to fix this?

I don't see anything special in migration guide.


1 Answer(s)
  • User Avatar
    0
    tony.chen@sjrb.ca created

    nvm...because of angular 18 new build process. fyi: https://stackoverflow.com/questions/37348045/change-the-dist-folder-path-in-angular-cli-after-ng-build

Made with ❤️ on ABP v9.1.0-preview. Updated on December 10, 2024, 06:38