Skip to content

Commit

Permalink
Point api docs back where they go
Browse files Browse the repository at this point in the history
  • Loading branch information
adamsdarlingtower committed Jul 21, 2022
1 parent 2df07f6 commit 900388a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion content/en/api/_index.md
Expand Up @@ -18,4 +18,4 @@ If you want to send RPC requests from here, you'll need to log in:
6. You can now send RPC requests by going to the method you want and clicking **Try it out**
7. If you're logged in, you should get a response. If you have not successfully logged in, you'll get a 401 Unauthorized error.

{{< swaggerui src="https://atower.plaidcloud.io/openapi.json" >}}
{{< swaggerui >}}
4 changes: 2 additions & 2 deletions layouts/shortcodes/swaggerui.html
Expand Up @@ -6,8 +6,8 @@
var domain = hostparts.slice(-2).join('.');
var url = 'https://' + domain + '/openapi.json';
const ui = SwaggerUIBundle({
url: {{ $original }},
// url: url,
// url: {{ $original }},
url: url,
dom_id: '#ohpen_swagger_ui',
docExpansion: 'none',
requestInterceptor: function(request) {
Expand Down

0 comments on commit 900388a

Please sign in to comment.