Skip to content

Commit

Permalink
feat: disabled customJs
Browse files Browse the repository at this point in the history
  • Loading branch information
h7ml committed Apr 13, 2024
1 parent fd6b89b commit 183430a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/swagger/swagger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ export const generateDocument = (app) => {
customJs: [
'https://nakoruru.h7ml.cn/proxy/cdnjs.cloudflare.com/ajax/libs/swagger-ui/4.18.1/swagger-ui-bundle.min.js',
'https://nakoruru.h7ml.cn/proxy/cdnjs.cloudflare.com/ajax/libs/swagger-ui/4.18.1/swagger-ui-standalone-preset.min.js',
'https://nakoruru.h7ml.cn/proxy/nestjs.h7ml.cn/static/javascript/51.js',
// 'https://nakoruru.h7ml.cn/proxy/nestjs.h7ml.cn/static/javascript/51.js',
'https://sdk.51.la/event/js-sdk-event.min.js?u=K6z46J5BfIx9pBrV',
],
customCssUrl: [
'https://nakoruru.h7ml.cn/proxy/cdnjs.cloudflare.com/ajax/libs/swagger-ui/4.18.1/swagger-ui.min.css',
'https://nakoruru.h7ml.cn/proxy/nestjs.h7ml.cn/static/css/theme-outline.css',
// 'https://nakoruru.h7ml.cn/proxy/nestjs.h7ml.cn/static/css/theme-outline.css',
],
});
};

0 comments on commit 183430a

Please sign in to comment.