Skip to content

Commit

Permalink
feat(proxy): 开发设置更新和代理配置清理
Browse files Browse the repository at this point in the history
  • Loading branch information
Encaik committed Sep 28, 2024
1 parent 071b83f commit d4432d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion proxy.conf.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
'/api': {
target: 'https://wanjie-api.vercel.app',
// target: 'https://wanjie-api.vercel.app',
target: 'http://localhost:3000',
secure: false,
changeOrigin: true,
logLevel: 'debug'
Expand Down
6 changes: 3 additions & 3 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ export class AppComponent implements OnInit {
private kimi = inject(KimiService);

ngOnInit() {
// this.kimi.getCharacterList(5).subscribe(res => {
// console.log(res);
// });
this.kimi.getCharacterList(5).subscribe(res => {
console.log(res);
});
this.event
.sendEvent({
type: EventType.System,
Expand Down

1 comment on commit d4432d0

@vercel
Copy link

@vercel vercel bot commented on d4432d0 Sep 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

wanjie – ./

wanjie-git-main-encaiks-projects.vercel.app
wanjie.vercel.app
wanjie-encaiks-projects.vercel.app

Please sign in to comment.