标签:err ack 文件 angular router eval ror with tor
base href换成如下script标签
<!-- <base href="/"> --> <script> document.write(‘<base href="‘ + document.location + ‘" />‘); </script>
在app.module.ts下添加 { provide: LocationStrategy, useClass: HashLocationStrategy }
providers: [
HttpErrorHandler,
httpInterceptorProviders,
CookieService,
{ provide: NZ_I18N, useValue: zh_CN },
{ provide: RequestCache, useClass: RequestCacheWithMap },
{ provide: RouteReuseStrategy, useClass: CustomReuseStrategy },
{ provide: LocationStrategy, useClass: HashLocationStrategy }
]
搞定!
标签:err ack 文件 angular router eval ror with tor
原文地址:https://www.cnblogs.com/sooooogiotto/p/10556691.html