Skip to content

Commit

Permalink
fix #6 #9
Browse files Browse the repository at this point in the history
  • Loading branch information
LiLittleCat committed Feb 20, 2023
1 parent b26a4d3 commit e9650ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public ChatGPTToolWindow() {
// String bodyString = EntityUtils.toString(httpEntity);
// if (httpResponse.getStatusLine().getStatusCode() == HttpStatus.SC_OK && !bodyString.contains("Welcome to ChatGPT")) {
JBCefCookie jbCefCookie = new JBCefCookie(sessionTokenName, sessionToken, "chat.openai.com", "/", true, true);
jbCefCookieManager.setCookie("https://chat.openai.com", jbCefCookie, null);
jbCefCookieManager.setCookie("https://chat.openai.com", jbCefCookie, 10000);
// }
// } catch (IOException e) {
// LOG.error("Error when check session token: ", e);
Expand Down

0 comments on commit e9650ad

Please sign in to comment.