Created
October 17, 2021 19:47
-
-
Save SidneyAllen/3ec89a0e1f8ec4592c227a37b718aeb5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const configurePrism = (baseurl, options = {}) => { | |
let result = { ...defaultClientOptions, ...options }; | |
result.baseurl = baseurl; | |
result.upstream = new URL(baseurl); | |
return result; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment