Angular 7 PWA + Azure Functions Gateway Timeout 504 only with Https

前端 未结 1 829
有刺的猬
有刺的猬 2021-02-09 07:24

So the title pretty much says it all!

I have an Angular 7 app compiled as PWA my package.json is below. My backend api is written in AzureFunctions V2.

         


        
相关标签:
1条回答
  • 2021-02-09 07:51

    I have same problem, when I call GET with Angular HTTP!

    I noticed, when I call GET twice, the call is done, third fail, and so on...

    I just add .pipe(retry(2)) from rxjs/operators and all my calls working good!

    P.S. This succeed only on Safari. Chrome, Mozilla, Opera, working fine!

    0 讨论(0)
提交回复
热议问题