purest
purest copied to clipboard
purest config
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch [email protected]
for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/purest/config/providers.json b/node_modules/purest/config/providers.json
index 8dd1dae..002a9d2 100644
--- a/node_modules/purest/config/providers.json
+++ b/node_modules/purest/config/providers.json
@@ -2784,5 +2784,18 @@
"authorization": "Bearer {auth}"
}
}
+ },
+ "trackmania": {
+ "default": {
+ "origin": "https://api.trackmania.com",
+ "path": "api/{path}",
+ "headers": {
+ "authorization": "Bearer {auth}"
+ }
+ },
+ "oauth": {
+ "origin": "https://api.trackmania.com",
+ "path": "oauth/{path}"
+ }
}
}
This issue body was partially generated by patch-package.