Leetcode plugin now working #1261
-
Hello, the new leetcode plugin seems not working, am I missing something? And I wonder does this plugin support |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi 👋 ! I enabled the plugin on the server so you should be able to use the These kind of errors occurs when a plugin is not enabled on the server's As for One would needs to update plugins/leetcode/metadata.yml to add: plugin_leetcode_url:
description: |
LeetCode URL
type: string
default: https://leetcode.com And patch this line to extract metrics/source/plugins/leetcode/index.mjs Line 10 in bddd67e Replace all occurences of And users should be able to pass |
Beta Was this translation helpful? Give feedback.
-
Thanks for the PR guide, it's very helpful! I followed the contribution guide and kind of stucked. I'm not familiar with the docker stuff. A |
Beta Was this translation helpful? Give feedback.
Hi 👋 !
I enabled the plugin on the server so you should be able to use the
leetcode
plugin now 👍These kind of errors occurs when a plugin is not enabled on the server's
settings.json
.For metrics.lecoq.io, usually most token-base and api/cpu intensive plugins are disabled, but in this case it was just an oversight since I forgot to update the config file (the leetcode api doesn't require any token so it's fine to let anyone use this plugin).
As for
leetcode.cn
it is not supported currently, but if the GraphQL API is exactly the same asleetcode.com
then it should be quite easy to implement and a PR would be welcomeOne would needs to update plugins/leetcode/metadata.yml to add:
plugin_…