Skip to content

Commit

Permalink
localhost proxy fix + SWC compilation (#952)
Browse files Browse the repository at this point in the history
* fixed localhost to 127.0.0.1 + remove babel.config.js to use SWC compilation

* 🎨 Auto-generated directory tree for repository in Architecture.md

---------

Co-authored-by: karkir0003 <karkir0003@users.noreply.github.com>
  • Loading branch information
karkir0003 and karkir0003 authored Sep 9, 2023
1 parent 0643c92 commit d5133df
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
1 change: 0 additions & 1 deletion .github/Architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@
| |- 📜 yarn.lock
| |- 📜 .eslintignore
| |- 📜 next-env.d.ts
| |- 📜 babel.config.js
| |- 📜 next.config.js
```

14 changes: 0 additions & 14 deletions frontend/babel.config.js

This file was deleted.

2 changes: 1 addition & 1 deletion frontend/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const nextConfig = {
},
{
source: "/api/training/:path*",
destination: "http://localhost:8000/api/:path*",
destination: "http://127.0.0.1:8000/api/:path*",
},
],
};
Expand Down

0 comments on commit d5133df

Please sign in to comment.