瀏覽代碼

Merge pull request #2289 from tcaesvk/master

fix options.oauth2RedirectUrl to work
bubble
Tony Tam 8 年之前
committed by GitHub
父節點
當前提交
6f8599d1a5
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/main/javascript/SwaggerUi.js

+ 1
- 1
src/main/javascript/SwaggerUi.js 查看文件

@@ -42,7 +42,7 @@ window.SwaggerUi = Backbone.Router.extend({
}

if (typeof options.oauth2RedirectUrl === 'string') {
window.oAuthRedirectUrl = options.redirectUrl;
window.oAuthRedirectUrl = options.oauth2RedirectUrl;
}

// Create an empty div which contains the dom_id


Loading…
取消
儲存