8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6563208 commit 5e1d9f4Copy full SHA for 5e1d9f4
EXTRAS.md
@@ -0,0 +1,12 @@
1
+# Extras
2
+
3
+## Todo
4
5
++ Caching : Daily Challenge (why request repeatedly if question remains same for entire day!!!?)
6
7
+## .env.json
8
9
++ Its where secrets are stored 😉
10
+ (event the api route)
11
12
lib/requests.js
@@ -3,7 +3,7 @@ import config from "../config/config";
export const fetchQuery = async (query) => {
const data = await axios({
- url: "http://localhost:8000/api/v1/query",
+ url: config.queryPostUrl,
method: "POST",
data: {
LEETCODE_SESSION: config.env.LEETCODE_SESSION,
0 commit comments