Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

力扣中文站的URL从https://leetcode-cn.com/改成了https://leetcode.cn #491

Closed
huangyebiaoke opened this issue May 9, 2022 · 22 comments · Fixed by #492
Closed

力扣中文站的URL从https://leetcode-cn.com/改成了https://leetcode.cn #491

huangyebiaoke opened this issue May 9, 2022 · 22 comments · Fixed by #492

Comments

@huangyebiaoke
Copy link

huangyebiaoke commented May 9, 2022

Describe the bug
关于LeetCode中文站域名更改的问题,如标题所示,希望能尽快更新或者给出临时解决方案。
谢谢作者的开源项目。

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'leecode editor slide panel'
  2. Click on 'sign in'
  3. pop website
  4. See error

Software versions(Help -> About)

  • Product: [e.g IDEA 2021.3]
  • LeetCode Editor (8.0)

Question(Optional)

  • URL:[e.g leetcode-cn.com]
  • Code Type:[e.g JAVA]
@Maskvvv

This comment was marked as resolved.

@shutdowner

This comment was marked as resolved.

@zhanglili31
Copy link

cookie和账号都不能登陆
image

@huangyebiaoke
Copy link
Author

临时解决办法如下:

  1. 关闭IDEA;
  2. 打开C:\Users\huang\AppData\Roaming\JetBrains\IntelliJIdea2021.3\options下的leetcode-config.xml文件;
  3. 将里面的leetcode-cn.com字段替换成leetcode.cn(有两处);
  4. 启动IDEA 点击sign in按钮
    相关源码在这里@State(name = "PersistentConfig" + PluginConstant.ACTION_SUFFIX, storages = {@Storage(value = PluginConstant.ACTION_PREFIX + "-config.xml", roamingType = RoamingType.DISABLED)})
    image

@huangyebiaoke

This comment was marked as resolved.

@huangyebiaoke

This comment was marked as resolved.

@huangyebiaoke

This comment was marked as resolved.

@shuzijun
Copy link
Owner

shuzijun commented May 9, 2022

正在改,中午发布

@huangyebiaoke
Copy link
Author

正在改,中午发布

谢谢您,期待

@judgebymom
Copy link

发布后需要重新下载新版本吗?

@judgebymom
Copy link

临时方法有用,但是我的leetcode-config.xml文件是在C:\Users\YT-007.IntelliJIdea2019.3\config\options,全局搜出来的

@Kamisamakk
Copy link

好使

@huhu-jin
Copy link

huhu-jin commented May 9, 2022

for linux:

vim .config/JetBrains/IntelliJIdea2021.3/options/leetcode-config.xml

@gufeng0
Copy link

gufeng0 commented May 9, 2022

请问,不能运行代码和提交也是这个原因吗

@SssJava
Copy link

SssJava commented May 9, 2022

是的,今天全都不能用了。
静等补丁

@huangyebiaoke
Copy link
Author

请问,不能运行代码和提交也是这个原因吗

您好,应该是的。静等作者更新吧

@shuzijun
Copy link
Owner

shuzijun commented May 9, 2022

修复版本v8.1

@dakangshuji
Copy link

亲测可用,感谢临时方案~

@TU-RUI
Copy link

TU-RUI commented Jun 10, 2022

mac 电脑的leetcode-config.xml路径在 /Users/turui/Library/Application Support/JetBrains/IntelliJIdea2020.1/options

@wangwei216
Copy link

image

直接点插件中的设置,Mac 直接修改 url 就行了

@monickey
Copy link

monickey commented Nov 7, 2022

临时解决办法如下:

  1. 关闭IDEA;
  2. 打开C:\Users\huang\AppData\Roaming\JetBrains\IntelliJIdea2021.3\options下的leetcode-config.xml文件;
  3. 将里面的leetcode-cn.com字段替换成leetcode.cn(有两处);
  4. 启动IDEA 点击sign in按钮
    相关源码在这里@State(name = "PersistentConfig" + PluginConstant.ACTION_SUFFIX, storages = {@Storage(value = PluginConstant.ACTION_PREFIX + "-config.xml", roamingType = RoamingType.DISABLED)})
    image

您好,请问

<entry key ="leetcode.cn***@***.com" value=“[{"path":"/","domain":"leetcode.cn"
后面的内容是什么?截图显示不全,而我的leetcode-config.xml上原本没有这一行

@shuzijun shuzijun unpinned this issue Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

16 participants