Skip to content

v1.1

Latest
Compare
Choose a tag to compare
@magnetardev magnetardev released this 24 Mar 22:05
· 1 commit to master since this release

Optional Arguments
We've improved the way optional arguments are handled, in both the constructor and list functions. They are now objects with each key being an optional argument. Check the documentation for more details.

Proxies
You can now use proxies with OpenRepo! Add proxy: "https://site.com/{{url}}" to the constructor function's options argument. {{url}} will be replaced with the URL.

HTML Templates in List
You can now have the list function return HTML with the new successHTML: function and failureHTML: function options in the list function's options argument. The functions should return a string.