Skip to content

purest configย #36

@NHTfuntin31

Description

@NHTfuntin31

Hi! ๐Ÿ‘‹

Firstly, thanks for your work on this project! ๐Ÿ™‚

Today I used patch-package to patch purest@4.0.2 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions