Skip to content

Commit

Permalink
fix: cors
Browse files Browse the repository at this point in the history
  • Loading branch information
choipureum committed Jun 1, 2024
1 parent 512c090 commit 3af6602
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"preview": "vite preview",
"prepare": "husky"
},
"proxy": "http://172.190.90.75:5000/",
"proxy": "http://172.190.90.75",
"dependencies": {
"@hookform/resolvers": "3.4.2",
"@radix-ui/react-accordion": "1.1.2",
Expand Down
2 changes: 1 addition & 1 deletion src/components/atoms/InputWithButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export function InputWithButton() {
가짜뉴스 탐지 AI 서비스
</h1>

<div className="flex w-full max-w-sm items-center space-x-2 mt-10 mb-10">
<div className="flex w-full max-w-xl items-center space-x-2 mt-10 mb-10">
<Input
type="text"
placeholder={TEXT.INPUT_PLACEHOLDER}
Expand Down
2 changes: 1 addition & 1 deletion src/setUpProxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { createProxyMiddleware } = require("http-proxy-middleware");
module.exports = function (app) {
app.use(
createProxyMiddleware("/get-result", {
target: "http://172.190.90.75:5000",
target: "http://172.190.90.75",
changeOrigin: true,
}),
);
Expand Down

0 comments on commit 3af6602

Please sign in to comment.