|
|
@ -2,6 +2,9 @@ |
|
|
|
|
|
|
|
|
(function () { |
|
|
(function () { |
|
|
abp.SwaggerUIBundle = function (configObject) { |
|
|
abp.SwaggerUIBundle = function (configObject) { |
|
|
|
|
|
|
|
|
|
|
|
abp.setAntiForgeryToken(); |
|
|
|
|
|
|
|
|
configObject.requestInterceptor = function (request) { |
|
|
configObject.requestInterceptor = function (request) { |
|
|
|
|
|
|
|
|
var antiForgeryToken = abp.security.antiForgery.getToken(); |
|
|
var antiForgeryToken = abp.security.antiForgery.getToken(); |
|
|
@ -13,4 +16,8 @@ |
|
|
|
|
|
|
|
|
return SwaggerUIBundle(configObject); |
|
|
return SwaggerUIBundle(configObject); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
abp.setAntiForgeryToken = function(){ |
|
|
|
|
|
fetch("/api/abp/application-configuration"); |
|
|
|
|
|
} |
|
|
})(); |
|
|
})(); |
|
|
|