标签:ref gui ppc 使用 ret port pre angular turn
{
"/api": {
"target": "http://localhost:5000",
"secure": false,
"pathRewrite": {
"^/api": ""
}
}
}
ngOnInit() {
this.msg$ = this.http.get("/api/ng7", {
responseType: "text",
});
}
@Controller()
export class AppController {
@Get('ng7')
ng7(): string {
return 'hello ng7';
}
}
标签:ref gui ppc 使用 ret port pre angular turn
原文地址:https://www.cnblogs.com/ajanuw/p/10227549.html