Skip to content

Commit

Permalink
fix: forgeGPT key
Browse files Browse the repository at this point in the history
  • Loading branch information
LPX55 committed May 21, 2023
1 parent b8a19d6 commit 3c46826
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions components/Gpt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ const ChatComponent: FC = () => {
]);
const [inputMessage, setInputMessage] = useState('');
const [loading, setLoading] = useState(false);

const chatId = process.env.CHAT_ID;
const secretKey = process.env.CHAT_SECRET;
const chatId = process.env.NEXT_PUBLIC_CHAT_ID;
const secretKey = process.env.NEXT_PUBLIC_CHAT_SECRET;

const handleInputChange = (event: ChangeEvent<HTMLTextAreaElement>) => {
setInputMessage(event.target.value);
Expand Down

0 comments on commit 3c46826

Please sign in to comment.