@fecommunity/reactpress 3.0.3 → 3.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/reactpress.js +127 -20
- package/dist/index.js +0 -0
- package/lib/build.js +25 -9
- package/lib/db-backup.js +21 -0
- package/lib/dev-banner.js +42 -10
- package/lib/dev.js +48 -29
- package/lib/docker.js +162 -44
- package/lib/doctor.js +71 -15
- package/lib/http.js +39 -4
- package/lib/i18n/strings.js +297 -40
- package/lib/lifecycle.js +43 -2
- package/lib/nginx.js +342 -0
- package/lib/project-type.js +72 -0
- package/lib/publish.js +46 -30
- package/lib/status.js +69 -45
- package/package.json +5 -6
- package/server/dist/dist/app.module.d.ts +2 -0
- package/server/dist/dist/app.module.js +105 -0
- package/server/dist/dist/app.module.js.map +1 -0
- package/server/dist/dist/common/api-messages.d.ts +32 -0
- package/server/dist/dist/common/api-messages.js +36 -0
- package/server/dist/dist/common/api-messages.js.map +1 -0
- package/server/dist/dist/filters/http-exception.filter.d.ts +4 -0
- package/server/dist/dist/filters/http-exception.filter.js +36 -0
- package/server/dist/dist/filters/http-exception.filter.js.map +1 -0
- package/server/dist/dist/generate-swagger.d.ts +1 -0
- package/server/dist/dist/generate-swagger.js +73 -0
- package/server/dist/dist/generate-swagger.js.map +1 -0
- package/server/dist/dist/interceptors/transform.interceptor.d.ts +9 -0
- package/server/dist/dist/interceptors/transform.interceptor.js +36 -0
- package/server/dist/dist/interceptors/transform.interceptor.js.map +1 -0
- package/server/dist/dist/logger/index.d.ts +4 -0
- package/server/dist/dist/logger/index.js +33 -0
- package/server/dist/dist/logger/index.js.map +1 -0
- package/server/dist/dist/main.d.ts +6 -0
- package/server/dist/dist/main.js +263 -0
- package/server/dist/dist/main.js.map +1 -0
- package/server/dist/dist/modules/api-key/api-key.controller.d.ts +14 -0
- package/server/dist/dist/modules/api-key/api-key.controller.js +63 -0
- package/server/dist/dist/modules/api-key/api-key.controller.js.map +1 -0
- package/server/dist/dist/modules/api-key/api-key.entity.d.ts +11 -0
- package/server/dist/dist/modules/api-key/api-key.entity.js +63 -0
- package/server/dist/dist/modules/api-key/api-key.entity.js.map +1 -0
- package/server/dist/dist/modules/api-key/api-key.guard.d.ts +7 -0
- package/server/dist/dist/modules/api-key/api-key.guard.js +40 -0
- package/server/dist/dist/modules/api-key/api-key.guard.js.map +1 -0
- package/server/dist/dist/modules/api-key/api-key.module.d.ts +2 -0
- package/server/dist/dist/modules/api-key/api-key.module.js +28 -0
- package/server/dist/dist/modules/api-key/api-key.module.js.map +1 -0
- package/server/dist/dist/modules/api-key/api-key.service.d.ts +15 -0
- package/server/dist/dist/modules/api-key/api-key.service.js +81 -0
- package/server/dist/dist/modules/api-key/api-key.service.js.map +1 -0
- package/server/dist/dist/modules/article/article-revision.entity.d.ts +11 -0
- package/server/dist/dist/modules/article/article-revision.entity.js +53 -0
- package/server/dist/dist/modules/article/article-revision.entity.js.map +1 -0
- package/server/dist/dist/modules/article/article.controller.d.ts +32 -0
- package/server/dist/dist/modules/article/article.controller.js +242 -0
- package/server/dist/dist/modules/article/article.controller.js.map +1 -0
- package/server/dist/dist/modules/article/article.entity.d.ts +24 -0
- package/server/dist/dist/modules/article/article.entity.js +133 -0
- package/server/dist/dist/modules/article/article.entity.js.map +1 -0
- package/server/dist/dist/modules/article/article.module.d.ts +2 -0
- package/server/dist/dist/modules/article/article.module.js +42 -0
- package/server/dist/dist/modules/article/article.module.js.map +1 -0
- package/server/dist/dist/modules/article/article.service.d.ts +38 -0
- package/server/dist/dist/modules/article/article.service.js +357 -0
- package/server/dist/dist/modules/article/article.service.js.map +1 -0
- package/server/dist/dist/modules/article/article.util.d.ts +1 -0
- package/server/dist/dist/modules/article/article.util.js +9 -0
- package/server/dist/dist/modules/article/article.util.js.map +1 -0
- package/server/dist/dist/modules/article/scheduled-publish.service.d.ts +13 -0
- package/server/dist/dist/modules/article/scheduled-publish.service.js +65 -0
- package/server/dist/dist/modules/article/scheduled-publish.service.js.map +1 -0
- package/server/dist/dist/modules/auth/auth.controller.d.ts +12 -0
- package/server/dist/dist/modules/auth/auth.controller.js +66 -0
- package/server/dist/dist/modules/auth/auth.controller.js.map +1 -0
- package/server/dist/dist/modules/auth/auth.module.d.ts +2 -0
- package/server/dist/dist/modules/auth/auth.module.js +41 -0
- package/server/dist/dist/modules/auth/auth.module.js.map +1 -0
- package/server/dist/dist/modules/auth/auth.service.d.ts +26 -0
- package/server/dist/dist/modules/auth/auth.service.js +128 -0
- package/server/dist/dist/modules/auth/auth.service.js.map +1 -0
- package/server/dist/dist/modules/auth/jwt-auth.guard.d.ts +7 -0
- package/server/dist/dist/modules/auth/jwt-auth.guard.js +30 -0
- package/server/dist/dist/modules/auth/jwt-auth.guard.js.map +1 -0
- package/server/dist/dist/modules/auth/jwt.strategy.d.ts +9 -0
- package/server/dist/dist/modules/auth/jwt.strategy.js +39 -0
- package/server/dist/dist/modules/auth/jwt.strategy.js.map +1 -0
- package/server/dist/dist/modules/auth/roles.guard.d.ts +10 -0
- package/server/dist/dist/modules/auth/roles.guard.js +46 -0
- package/server/dist/dist/modules/auth/roles.guard.js.map +1 -0
- package/server/dist/dist/modules/category/category.controller.d.ts +11 -0
- package/server/dist/dist/modules/category/category.controller.js +91 -0
- package/server/dist/dist/modules/category/category.controller.js.map +1 -0
- package/server/dist/dist/modules/category/category.entity.d.ts +9 -0
- package/server/dist/dist/modules/category/category.entity.js +60 -0
- package/server/dist/dist/modules/category/category.entity.js.map +1 -0
- package/server/dist/dist/modules/category/category.module.d.ts +2 -0
- package/server/dist/dist/modules/category/category.module.js +27 -0
- package/server/dist/dist/modules/category/category.module.js.map +1 -0
- package/server/dist/dist/modules/category/category.service.d.ts +12 -0
- package/server/dist/dist/modules/category/category.service.js +90 -0
- package/server/dist/dist/modules/category/category.service.js.map +1 -0
- package/server/dist/dist/modules/comment/comment.controller.d.ts +12 -0
- package/server/dist/dist/modules/comment/comment.controller.js +100 -0
- package/server/dist/dist/modules/comment/comment.controller.js.map +1 -0
- package/server/dist/dist/modules/comment/comment.entity.d.ts +17 -0
- package/server/dist/dist/modules/comment/comment.entity.js +104 -0
- package/server/dist/dist/modules/comment/comment.entity.js.map +1 -0
- package/server/dist/dist/modules/comment/comment.module.d.ts +2 -0
- package/server/dist/dist/modules/comment/comment.module.js +39 -0
- package/server/dist/dist/modules/comment/comment.module.js.map +1 -0
- package/server/dist/dist/modules/comment/comment.service.d.ts +26 -0
- package/server/dist/dist/modules/comment/comment.service.js +182 -0
- package/server/dist/dist/modules/comment/comment.service.js.map +1 -0
- package/server/dist/dist/modules/comment/html.d.ts +15 -0
- package/server/dist/dist/modules/comment/html.js +632 -0
- package/server/dist/dist/modules/comment/html.js.map +1 -0
- package/server/dist/dist/modules/file/file.controller.d.ts +10 -0
- package/server/dist/dist/modules/file/file.controller.js +84 -0
- package/server/dist/dist/modules/file/file.controller.js.map +1 -0
- package/server/dist/dist/modules/file/file.entity.d.ts +9 -0
- package/server/dist/dist/modules/file/file.entity.js +60 -0
- package/server/dist/dist/modules/file/file.entity.js.map +1 -0
- package/server/dist/dist/modules/file/file.module.d.ts +2 -0
- package/server/dist/dist/modules/file/file.module.js +27 -0
- package/server/dist/dist/modules/file/file.module.js.map +1 -0
- package/server/dist/dist/modules/file/file.service.d.ts +17 -0
- package/server/dist/dist/modules/file/file.service.js +111 -0
- package/server/dist/dist/modules/file/file.service.js.map +1 -0
- package/server/dist/dist/modules/health/health.controller.d.ts +11 -0
- package/server/dist/dist/modules/health/health.controller.js +57 -0
- package/server/dist/dist/modules/health/health.controller.js.map +1 -0
- package/server/dist/dist/modules/health/health.module.d.ts +2 -0
- package/server/dist/dist/modules/health/health.module.js +20 -0
- package/server/dist/dist/modules/health/health.module.js.map +1 -0
- package/server/dist/dist/modules/install/install.controller.d.ts +11 -0
- package/server/dist/dist/modules/install/install.controller.js +49 -0
- package/server/dist/dist/modules/install/install.controller.js.map +1 -0
- package/server/dist/dist/modules/install/install.module.d.ts +2 -0
- package/server/dist/dist/modules/install/install.module.js +26 -0
- package/server/dist/dist/modules/install/install.module.js.map +1 -0
- package/server/dist/dist/modules/install/install.service.d.ts +12 -0
- package/server/dist/dist/modules/install/install.service.js +63 -0
- package/server/dist/dist/modules/install/install.service.js.map +1 -0
- package/server/dist/dist/modules/knowledge/knowledge.controller.d.ts +14 -0
- package/server/dist/dist/modules/knowledge/knowledge.controller.js +128 -0
- package/server/dist/dist/modules/knowledge/knowledge.controller.js.map +1 -0
- package/server/dist/dist/modules/knowledge/knowledge.entity.d.ts +18 -0
- package/server/dist/dist/modules/knowledge/knowledge.entity.js +109 -0
- package/server/dist/dist/modules/knowledge/knowledge.entity.js.map +1 -0
- package/server/dist/dist/modules/knowledge/knowledge.module.d.ts +2 -0
- package/server/dist/dist/modules/knowledge/knowledge.module.js +27 -0
- package/server/dist/dist/modules/knowledge/knowledge.module.js.map +1 -0
- package/server/dist/dist/modules/knowledge/knowledge.service.d.ts +14 -0
- package/server/dist/dist/modules/knowledge/knowledge.service.js +144 -0
- package/server/dist/dist/modules/knowledge/knowledge.service.js.map +1 -0
- package/server/dist/dist/modules/page/page.controller.d.ts +12 -0
- package/server/dist/dist/modules/page/page.controller.js +102 -0
- package/server/dist/dist/modules/page/page.controller.js.map +1 -0
- package/server/dist/dist/modules/page/page.entity.d.ts +15 -0
- package/server/dist/dist/modules/page/page.entity.js +94 -0
- package/server/dist/dist/modules/page/page.entity.js.map +1 -0
- package/server/dist/dist/modules/page/page.module.d.ts +2 -0
- package/server/dist/dist/modules/page/page.module.js +27 -0
- package/server/dist/dist/modules/page/page.module.js.map +1 -0
- package/server/dist/dist/modules/page/page.service.d.ts +12 -0
- package/server/dist/dist/modules/page/page.service.js +98 -0
- package/server/dist/dist/modules/page/page.service.js.map +1 -0
- package/server/dist/dist/modules/search/search.controller.d.ts +8 -0
- package/server/dist/dist/modules/search/search.controller.js +67 -0
- package/server/dist/dist/modules/search/search.controller.js.map +1 -0
- package/server/dist/dist/modules/search/search.entity.d.ts +8 -0
- package/server/dist/dist/modules/search/search.entity.js +59 -0
- package/server/dist/dist/modules/search/search.entity.js.map +1 -0
- package/server/dist/dist/modules/search/search.module.d.ts +2 -0
- package/server/dist/dist/modules/search/search.module.js +27 -0
- package/server/dist/dist/modules/search/search.module.js.map +1 -0
- package/server/dist/dist/modules/search/search.service.d.ts +12 -0
- package/server/dist/dist/modules/search/search.service.js +84 -0
- package/server/dist/dist/modules/search/search.service.js.map +1 -0
- package/server/dist/dist/modules/setting/setting.constant.d.ts +3 -0
- package/server/dist/dist/modules/setting/setting.constant.js +25 -0
- package/server/dist/dist/modules/setting/setting.constant.js.map +1 -0
- package/server/dist/dist/modules/setting/setting.controller.d.ts +12 -0
- package/server/dist/dist/modules/setting/setting.controller.js +77 -0
- package/server/dist/dist/modules/setting/setting.controller.js.map +1 -0
- package/server/dist/dist/modules/setting/setting.entity.d.ts +26 -0
- package/server/dist/dist/modules/setting/setting.entity.js +149 -0
- package/server/dist/dist/modules/setting/setting.entity.js.map +1 -0
- package/server/dist/dist/modules/setting/setting.module.d.ts +2 -0
- package/server/dist/dist/modules/setting/setting.module.js +28 -0
- package/server/dist/dist/modules/setting/setting.module.js.map +1 -0
- package/server/dist/dist/modules/setting/setting.service.d.ts +10 -0
- package/server/dist/dist/modules/setting/setting.service.js +106 -0
- package/server/dist/dist/modules/setting/setting.service.js.map +1 -0
- package/server/dist/dist/modules/smtp/mail.util.d.ts +6 -0
- package/server/dist/dist/modules/smtp/mail.util.js +33 -0
- package/server/dist/dist/modules/smtp/mail.util.js.map +1 -0
- package/server/dist/dist/modules/smtp/smtp.controller.d.ts +9 -0
- package/server/dist/dist/modules/smtp/smtp.controller.js +69 -0
- package/server/dist/dist/modules/smtp/smtp.controller.js.map +1 -0
- package/server/dist/dist/modules/smtp/smtp.entity.d.ts +9 -0
- package/server/dist/dist/modules/smtp/smtp.entity.js +60 -0
- package/server/dist/dist/modules/smtp/smtp.entity.js.map +1 -0
- package/server/dist/dist/modules/smtp/smtp.module.d.ts +2 -0
- package/server/dist/dist/modules/smtp/smtp.module.js +28 -0
- package/server/dist/dist/modules/smtp/smtp.module.js.map +1 -0
- package/server/dist/dist/modules/smtp/smtp.service.d.ts +11 -0
- package/server/dist/dist/modules/smtp/smtp.service.js +83 -0
- package/server/dist/dist/modules/smtp/smtp.service.js.map +1 -0
- package/server/dist/dist/modules/tag/tag.controller.d.ts +12 -0
- package/server/dist/dist/modules/tag/tag.controller.js +101 -0
- package/server/dist/dist/modules/tag/tag.controller.js.map +1 -0
- package/server/dist/dist/modules/tag/tag.entity.d.ts +9 -0
- package/server/dist/dist/modules/tag/tag.entity.js +59 -0
- package/server/dist/dist/modules/tag/tag.entity.js.map +1 -0
- package/server/dist/dist/modules/tag/tag.module.d.ts +2 -0
- package/server/dist/dist/modules/tag/tag.module.js +27 -0
- package/server/dist/dist/modules/tag/tag.module.js.map +1 -0
- package/server/dist/dist/modules/tag/tag.service.d.ts +13 -0
- package/server/dist/dist/modules/tag/tag.service.js +104 -0
- package/server/dist/dist/modules/tag/tag.service.js.map +1 -0
- package/server/dist/dist/modules/user/user.controller.d.ts +13 -0
- package/server/dist/dist/modules/user/user.controller.js +115 -0
- package/server/dist/dist/modules/user/user.controller.js.map +1 -0
- package/server/dist/dist/modules/user/user.entity.d.ts +15 -0
- package/server/dist/dist/modules/user/user.entity.js +96 -0
- package/server/dist/dist/modules/user/user.entity.js.map +1 -0
- package/server/dist/dist/modules/user/user.module.d.ts +2 -0
- package/server/dist/dist/modules/user/user.module.js +28 -0
- package/server/dist/dist/modules/user/user.module.js.map +1 -0
- package/server/dist/dist/modules/user/user.service.d.ts +16 -0
- package/server/dist/dist/modules/user/user.service.js +152 -0
- package/server/dist/dist/modules/user/user.service.js.map +1 -0
- package/server/dist/dist/modules/view/view.controller.d.ts +11 -0
- package/server/dist/dist/modules/view/view.controller.js +92 -0
- package/server/dist/dist/modules/view/view.controller.js.map +1 -0
- package/server/dist/dist/modules/view/view.entity.d.ts +14 -0
- package/server/dist/dist/modules/view/view.entity.js +88 -0
- package/server/dist/dist/modules/view/view.entity.js.map +1 -0
- package/server/dist/dist/modules/view/view.module.d.ts +2 -0
- package/server/dist/dist/modules/view/view.module.js +27 -0
- package/server/dist/dist/modules/view/view.module.js.map +1 -0
- package/server/dist/dist/modules/view/view.service.d.ts +11 -0
- package/server/dist/dist/modules/view/view.service.js +89 -0
- package/server/dist/dist/modules/view/view.service.js.map +1 -0
- package/server/dist/dist/modules/webhook/webhook.controller.d.ts +12 -0
- package/server/dist/dist/modules/webhook/webhook.controller.js +63 -0
- package/server/dist/dist/modules/webhook/webhook.controller.js.map +1 -0
- package/server/dist/dist/modules/webhook/webhook.entity.d.ts +9 -0
- package/server/dist/dist/modules/webhook/webhook.entity.js +54 -0
- package/server/dist/dist/modules/webhook/webhook.entity.js.map +1 -0
- package/server/dist/dist/modules/webhook/webhook.module.d.ts +2 -0
- package/server/dist/dist/modules/webhook/webhook.module.js +27 -0
- package/server/dist/dist/modules/webhook/webhook.module.js.map +1 -0
- package/server/dist/dist/modules/webhook/webhook.service.d.ts +16 -0
- package/server/dist/dist/modules/webhook/webhook.service.js +97 -0
- package/server/dist/dist/modules/webhook/webhook.service.js.map +1 -0
- package/server/dist/dist/public/favicon.png +0 -0
- package/server/dist/dist/public/index.html +439 -0
- package/server/dist/dist/public/swagger/custom.css +11 -0
- package/server/dist/dist/starter.d.ts +1 -0
- package/server/dist/dist/starter.js +84 -0
- package/server/dist/dist/starter.js.map +1 -0
- package/server/dist/dist/tsconfig.build.tsbuildinfo +16966 -0
- package/server/dist/dist/utils/date.util.d.ts +1 -0
- package/server/dist/dist/utils/date.util.js +13 -0
- package/server/dist/dist/utils/date.util.js.map +1 -0
- package/server/dist/dist/utils/ip.util.d.ts +2 -0
- package/server/dist/dist/utils/ip.util.js +27 -0
- package/server/dist/dist/utils/ip.util.js.map +1 -0
- package/server/dist/dist/utils/markdown.util.d.ts +4 -0
- package/server/dist/dist/utils/markdown.util.js +42 -0
- package/server/dist/dist/utils/markdown.util.js.map +1 -0
- package/server/dist/dist/utils/oss/aliyun-oss-client.d.ts +6 -0
- package/server/dist/dist/utils/oss/aliyun-oss-client.js +28 -0
- package/server/dist/dist/utils/oss/aliyun-oss-client.js.map +1 -0
- package/server/dist/dist/utils/oss/oss-client.d.ts +6 -0
- package/server/dist/dist/utils/oss/oss-client.js +10 -0
- package/server/dist/dist/utils/oss/oss-client.js.map +1 -0
- package/server/dist/dist/utils/oss.util.d.ts +13 -0
- package/server/dist/dist/utils/oss.util.js +49 -0
- package/server/dist/dist/utils/oss.util.js.map +1 -0
- package/server/dist/dist/utils/ua.util.d.ts +9 -0
- package/server/dist/dist/utils/ua.util.js +36 -0
- package/server/dist/dist/utils/ua.util.js.map +1 -0
- package/server/dist/dist/utils/uniqueid.util.d.ts +1 -0
- package/server/dist/dist/utils/uniqueid.util.js +9 -0
- package/server/dist/dist/utils/uniqueid.util.js.map +1 -0
- package/server/dist/dist/utils/upload.util.d.ts +5 -0
- package/server/dist/dist/utils/upload.util.js +34 -0
- package/server/dist/dist/utils/upload.util.js.map +1 -0
- package/server/dist/dist/utils/user.util.d.ts +1 -0
- package/server/dist/dist/utils/user.util.js +18 -0
- package/server/dist/dist/utils/user.util.js.map +1 -0
- package/server/logs/error/error.log.-2026-05-19.log +123 -0
- package/server/node_modules/@nestjs/cli/node_modules/rimraf/bin.js +0 -0
- package/server/node_modules/@nestjs/cli/node_modules/typescript/bin/tsc +0 -0
- package/server/node_modules/@nestjs/cli/node_modules/typescript/bin/tsserver +0 -0
- package/server/node_modules/@nestjs/common/node_modules/axios/README.md +0 -0
- package/server/node_modules/@nestjs/common/node_modules/axios/lib/adapters/http.js +0 -0
- package/server/node_modules/@nestjs/config/node_modules/uuid/dist/bin/uuid +0 -0
- package/server/node_modules/@nestjs/platform-express/node_modules/mime/cli.js +0 -0
- package/server/node_modules/@nestjs/platform-express/node_modules/mime/src/build.js +0 -0
- package/server/node_modules/@nestjs/typeorm/node_modules/uuid/dist/bin/uuid +0 -0
- package/server/node_modules/@nuxtjs/opencollective/bin/opencollective.js +0 -0
- package/server/node_modules/@pm2/agent/node_modules/dayjs/plugin/objectSupport.d.ts +0 -0
- package/server/node_modules/@pm2/agent/node_modules/semver/bin/semver.js +0 -0
- package/server/node_modules/@pm2/io/node_modules/semver/bin/semver.js +0 -0
- package/server/node_modules/@types/node/LICENSE +0 -0
- package/server/node_modules/@types/node/README.md +0 -0
- package/server/node_modules/@types/node/assert.d.ts +0 -0
- package/server/node_modules/@types/node/async_hooks.d.ts +0 -0
- package/server/node_modules/@types/node/buffer.d.ts +0 -0
- package/server/node_modules/@types/node/child_process.d.ts +0 -0
- package/server/node_modules/@types/node/cluster.d.ts +0 -0
- package/server/node_modules/@types/node/console.d.ts +0 -0
- package/server/node_modules/@types/node/constants.d.ts +0 -0
- package/server/node_modules/@types/node/crypto.d.ts +0 -0
- package/server/node_modules/@types/node/dgram.d.ts +0 -0
- package/server/node_modules/@types/node/dns.d.ts +0 -0
- package/server/node_modules/@types/node/domain.d.ts +0 -0
- package/server/node_modules/@types/node/events.d.ts +0 -0
- package/server/node_modules/@types/node/fs.d.ts +0 -0
- package/server/node_modules/@types/node/globals.d.ts +0 -0
- package/server/node_modules/@types/node/globals.global.d.ts +0 -0
- package/server/node_modules/@types/node/http.d.ts +0 -0
- package/server/node_modules/@types/node/http2.d.ts +0 -0
- package/server/node_modules/@types/node/https.d.ts +0 -0
- package/server/node_modules/@types/node/index.d.ts +0 -0
- package/server/node_modules/@types/node/inspector.d.ts +0 -0
- package/server/node_modules/@types/node/module.d.ts +0 -0
- package/server/node_modules/@types/node/net.d.ts +0 -0
- package/server/node_modules/@types/node/os.d.ts +0 -0
- package/server/node_modules/@types/node/package.json +0 -0
- package/server/node_modules/@types/node/path.d.ts +0 -0
- package/server/node_modules/@types/node/perf_hooks.d.ts +0 -0
- package/server/node_modules/@types/node/process.d.ts +0 -0
- package/server/node_modules/@types/node/punycode.d.ts +0 -0
- package/server/node_modules/@types/node/querystring.d.ts +0 -0
- package/server/node_modules/@types/node/readline.d.ts +0 -0
- package/server/node_modules/@types/node/repl.d.ts +0 -0
- package/server/node_modules/@types/node/stream.d.ts +0 -0
- package/server/node_modules/@types/node/string_decoder.d.ts +0 -0
- package/server/node_modules/@types/node/timers.d.ts +0 -0
- package/server/node_modules/@types/node/tls.d.ts +0 -0
- package/server/node_modules/@types/node/trace_events.d.ts +0 -0
- package/server/node_modules/@types/node/tty.d.ts +0 -0
- package/server/node_modules/@types/node/url.d.ts +0 -0
- package/server/node_modules/@types/node/util.d.ts +0 -0
- package/server/node_modules/@types/node/v8.d.ts +0 -0
- package/server/node_modules/@types/node/vm.d.ts +0 -0
- package/server/node_modules/@types/node/wasi.d.ts +0 -0
- package/server/node_modules/@types/node/worker_threads.d.ts +0 -0
- package/server/node_modules/@types/node/zlib.d.ts +0 -0
- package/server/node_modules/@types/zen-observable/LICENSE +0 -0
- package/server/node_modules/@types/zen-observable/README.md +0 -0
- package/server/node_modules/@types/zen-observable/esm.d.ts +0 -0
- package/server/node_modules/@types/zen-observable/extras.d.ts +0 -0
- package/server/node_modules/@types/zen-observable/index.d.ts +0 -0
- package/server/node_modules/@types/zen-observable/package.json +0 -0
- package/server/node_modules/ajv/scripts/info +0 -0
- package/server/node_modules/ajv/scripts/prepare-tests +0 -0
- package/server/node_modules/ajv/scripts/publish-built-version +0 -0
- package/server/node_modules/ajv/scripts/travis-gh-pages +0 -0
- package/server/node_modules/arr-diff/LICENSE +0 -0
- package/server/node_modules/arr-flatten/LICENSE +0 -0
- package/server/node_modules/arr-flatten/README.md +0 -0
- package/server/node_modules/array-unique/LICENSE +0 -0
- package/server/node_modules/array-unique/README.md +0 -0
- package/server/node_modules/aws-ssl-profiles/package.json +0 -0
- package/server/node_modules/axios/README.md +0 -0
- package/server/node_modules/axios/lib/adapters/http.js +0 -0
- package/server/node_modules/blessed/bin/tput.js +0 -0
- package/server/node_modules/blessed/example/blessed-telnet.js +0 -0
- package/server/node_modules/blessed/example/multiplex.js +0 -0
- package/server/node_modules/blessed/example/ping +0 -0
- package/server/node_modules/blessed/example/time.js +0 -0
- package/server/node_modules/cacache/node_modules/rimraf/bin.js +0 -0
- package/server/node_modules/cli-color/bin/generate-color-images +0 -0
- package/server/node_modules/cli-color/test/__playground/throbber.formatted.js +0 -0
- package/server/node_modules/cli-color/test/__playground/throbber.js +0 -0
- package/server/node_modules/cli-highlight/node_modules/wrap-ansi/index.js +0 -0
- package/server/node_modules/cliui/node_modules/wrap-ansi/index.js +0 -0
- package/server/node_modules/constants-browserify/build.sh +0 -0
- package/server/node_modules/copy-concurrently/node_modules/rimraf/bin.js +0 -0
- package/server/node_modules/copyfiles/copyfiles +0 -0
- package/server/node_modules/copyfiles/index.js +0 -0
- package/server/node_modules/cross-env/README.md +0 -0
- package/server/node_modules/date-fns/esm/index.js +0 -0
- package/server/node_modules/date-fns/esm/previousDay/index.js +0 -0
- package/server/node_modules/date-fns/esm/previousFriday/index.js +0 -0
- package/server/node_modules/date-fns/esm/previousMonday/index.js +0 -0
- package/server/node_modules/date-fns/esm/previousSaturday/index.js +0 -0
- package/server/node_modules/date-fns/esm/previousSunday/index.js +0 -0
- package/server/node_modules/date-fns/esm/previousThursday/index.js +0 -0
- package/server/node_modules/date-fns/esm/previousTuesday/index.js +0 -0
- package/server/node_modules/date-fns/esm/previousWednesday/index.js +0 -0
- package/server/node_modules/date-fns/index.js +0 -0
- package/server/node_modules/date-fns/previousDay/index.js +0 -0
- package/server/node_modules/date-fns/previousFriday/index.js +0 -0
- package/server/node_modules/date-fns/previousMonday/index.js +0 -0
- package/server/node_modules/date-fns/previousSaturday/index.js +0 -0
- package/server/node_modules/date-fns/previousSunday/index.js +0 -0
- package/server/node_modules/date-fns/previousThursday/index.js +0 -0
- package/server/node_modules/date-fns/previousTuesday/index.js +0 -0
- package/server/node_modules/date-fns/previousWednesday/index.js +0 -0
- package/server/node_modules/dayjs/plugin/arraySupport.d.ts +0 -0
- package/server/node_modules/dayjs/plugin/objectSupport.d.ts +0 -0
- package/server/node_modules/default-user-agent/node_modules/os-name/cli.js +0 -0
- package/server/node_modules/degenerator/node_modules/escodegen/bin/escodegen.js +0 -0
- package/server/node_modules/degenerator/node_modules/escodegen/bin/esgenerate.js +0 -0
- package/server/node_modules/emojis-list/LICENSE.md +0 -0
- package/server/node_modules/emojis-list/README.md +0 -0
- package/server/node_modules/errno/build.js +0 -0
- package/server/node_modules/errno/cli.js +0 -0
- package/server/node_modules/es5-ext/_postinstall.js +0 -0
- package/server/node_modules/esprima/bin/esparse.js +0 -0
- package/server/node_modules/esprima/bin/esvalidate.js +0 -0
- package/server/node_modules/esrecurse/package.json +0 -0
- package/server/node_modules/execa/node_modules/semver/bin/semver +0 -0
- package/server/node_modules/execa/node_modules/which/bin/which +0 -0
- package/server/node_modules/extrareqp2/README.md +0 -0
- package/server/node_modules/extrareqp2/lib/adapters/http.js +0 -0
- package/server/node_modules/fork-ts-checker-webpack-plugin/node_modules/semver/bin/semver +0 -0
- package/server/node_modules/is-class-hotfix/.editorconfig +0 -0
- package/server/node_modules/is-class-hotfix/.gitattributes +0 -0
- package/server/node_modules/is-class-hotfix/CHANGELOG.md +0 -0
- package/server/node_modules/is-class-hotfix/LICENSE.md +0 -0
- package/server/node_modules/is-class-hotfix/README.md +0 -0
- package/server/node_modules/is-class-hotfix/bower.json +0 -0
- package/server/node_modules/is-class-hotfix/is-class.js +0 -0
- package/server/node_modules/is-class-hotfix/package.json +0 -0
- package/server/node_modules/is-class-hotfix/test/is-class.js +0 -0
- package/server/node_modules/is-docker/cli.js +0 -0
- package/server/node_modules/js-yaml/bin/js-yaml.js +0 -0
- package/server/node_modules/jsonwebtoken/node_modules/semver/bin/semver +0 -0
- package/server/node_modules/jstoxml/dist.sh +0 -0
- package/server/node_modules/log4js/lib/appenders/fileSync.js +0 -0
- package/server/node_modules/log4js/lib/connect-logger.js +0 -0
- package/server/node_modules/make-dir/node_modules/semver/bin/semver +0 -0
- package/server/node_modules/micromatch/LICENSE +0 -0
- package/server/node_modules/miller-rabin/bin/miller-rabin +0 -0
- package/server/node_modules/mime/cli.js +0 -0
- package/server/node_modules/mkdirp/bin/cmd.js +0 -0
- package/server/node_modules/move-concurrently/node_modules/rimraf/bin.js +0 -0
- package/server/node_modules/nan/tools/1to2.js +0 -0
- package/server/node_modules/needle/bin/needle +0 -0
- package/server/node_modules/node-libs-browser/node_modules/buffer/bin/download-node-tests.js +0 -0
- package/server/node_modules/node-libs-browser/node_modules/buffer/bin/update-authors.sh +0 -0
- package/server/node_modules/open/xdg-open +0 -0
- package/server/node_modules/osx-release/cli.js +0 -0
- package/server/node_modules/pm2/bin/pm2 +0 -0
- package/server/node_modules/pm2/bin/pm2-dev +0 -0
- package/server/node_modules/pm2/bin/pm2-docker +0 -0
- package/server/node_modules/pm2/bin/pm2-runtime +0 -0
- package/server/node_modules/pm2/lib/templates/init-scripts/openrc.tpl +0 -0
- package/server/node_modules/pm2/lib/tools/xdg-open +0 -0
- package/server/node_modules/pm2/node_modules/mkdirp/bin/cmd.js +0 -0
- package/server/node_modules/pm2/pm2 +0 -0
- package/server/node_modules/pm2-deploy/deploy +0 -0
- package/server/node_modules/require-in-the-middle/node_modules/resolve/bin/resolve +0 -0
- package/server/node_modules/rimraf/bin.js +0 -0
- package/server/node_modules/segment/repl +0 -0
- package/server/node_modules/semver/bin/semver.js +0 -0
- package/server/node_modules/send/node_modules/mime/cli.js +0 -0
- package/server/node_modules/send/node_modules/mime/src/build.js +0 -0
- package/server/node_modules/sha.js/bin.js +0 -0
- package/server/node_modules/systeminformation/lib/cli.js +0 -0
- package/server/node_modules/terser/bin/terser +0 -0
- package/server/node_modules/terser/bin/uglifyjs +0 -0
- package/server/node_modules/tree-kill/cli.js +0 -0
- package/server/node_modules/tree-kill/index.js +0 -0
- package/server/node_modules/typeorm/cli.js +0 -0
- package/server/node_modules/typeorm/node_modules/mkdirp/bin/cmd.js +0 -0
- package/server/node_modules/typeorm/node_modules/uuid/dist/bin/uuid +0 -0
- package/server/node_modules/typeorm/node_modules/wrap-ansi/index.js +0 -0
- package/server/node_modules/ua-parser-js/script/cli.js +0 -0
- package/server/node_modules/ua-parser-js/src/ua-parser.js +0 -0
- package/server/node_modules/upath/LICENSE +0 -0
- package/server/node_modules/uri-js/LICENSE +0 -0
- package/server/node_modules/uri-js/README.md +0 -0
- package/server/node_modules/uri-js/dist/es5/uri.all.d.ts +0 -0
- package/server/node_modules/uri-js/dist/es5/uri.all.js +0 -0
- package/server/node_modules/uri-js/dist/es5/uri.all.js.map +0 -0
- package/server/node_modules/uri-js/dist/es5/uri.all.min.d.ts +0 -0
- package/server/node_modules/uri-js/dist/es5/uri.all.min.js +0 -0
- package/server/node_modules/uri-js/dist/es5/uri.all.min.js.map +0 -0
- package/server/node_modules/uri-js/dist/esnext/index.d.ts +0 -0
- package/server/node_modules/uri-js/dist/esnext/index.js +0 -0
- package/server/node_modules/uri-js/dist/esnext/index.js.map +0 -0
- package/server/node_modules/uri-js/dist/esnext/regexps-iri.d.ts +0 -0
- package/server/node_modules/uri-js/dist/esnext/regexps-iri.js +0 -0
- package/server/node_modules/uri-js/dist/esnext/regexps-iri.js.map +0 -0
- package/server/node_modules/uri-js/dist/esnext/regexps-uri.d.ts +0 -0
- package/server/node_modules/uri-js/dist/esnext/regexps-uri.js +0 -0
- package/server/node_modules/uri-js/dist/esnext/regexps-uri.js.map +0 -0
- package/server/node_modules/uri-js/dist/esnext/schemes/http.d.ts +0 -0
- package/server/node_modules/uri-js/dist/esnext/schemes/http.js +0 -0
- package/server/node_modules/uri-js/dist/esnext/schemes/http.js.map +0 -0
- package/server/node_modules/uri-js/dist/esnext/schemes/https.d.ts +0 -0
- package/server/node_modules/uri-js/dist/esnext/schemes/https.js +0 -0
- package/server/node_modules/uri-js/dist/esnext/schemes/https.js.map +0 -0
- package/server/node_modules/uri-js/dist/esnext/schemes/mailto.d.ts +0 -0
- package/server/node_modules/uri-js/dist/esnext/schemes/mailto.js +0 -0
- package/server/node_modules/uri-js/dist/esnext/schemes/mailto.js.map +0 -0
- package/server/node_modules/uri-js/dist/esnext/schemes/urn-uuid.d.ts +0 -0
- package/server/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js +0 -0
- package/server/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js.map +0 -0
- package/server/node_modules/uri-js/dist/esnext/schemes/urn.d.ts +0 -0
- package/server/node_modules/uri-js/dist/esnext/schemes/urn.js +0 -0
- package/server/node_modules/uri-js/dist/esnext/schemes/urn.js.map +0 -0
- package/server/node_modules/uri-js/dist/esnext/schemes/ws.d.ts +0 -0
- package/server/node_modules/uri-js/dist/esnext/schemes/ws.js +0 -0
- package/server/node_modules/uri-js/dist/esnext/schemes/ws.js.map +0 -0
- package/server/node_modules/uri-js/dist/esnext/schemes/wss.d.ts +0 -0
- package/server/node_modules/uri-js/dist/esnext/schemes/wss.js +0 -0
- package/server/node_modules/uri-js/dist/esnext/schemes/wss.js.map +0 -0
- package/server/node_modules/uri-js/dist/esnext/uri.d.ts +0 -0
- package/server/node_modules/uri-js/dist/esnext/uri.js +0 -0
- package/server/node_modules/uri-js/dist/esnext/uri.js.map +0 -0
- package/server/node_modules/uri-js/dist/esnext/util.d.ts +0 -0
- package/server/node_modules/uri-js/dist/esnext/util.js +0 -0
- package/server/node_modules/uri-js/dist/esnext/util.js.map +0 -0
- package/server/node_modules/uri-js/package.json +0 -0
- package/server/node_modules/uri-js/yarn.lock +0 -0
- package/server/node_modules/uuid/dist/bin/uuid +0 -0
- package/server/node_modules/webpack/node_modules/acorn/bin/acorn +0 -0
- package/server/node_modules/webpack/node_modules/ajv/scripts/info +0 -0
- package/server/node_modules/webpack/node_modules/ajv/scripts/prepare-tests +0 -0
- package/server/node_modules/webpack/node_modules/ajv/scripts/publish-built-version +0 -0
- package/server/node_modules/webpack/node_modules/ajv/scripts/travis-gh-pages +0 -0
- package/server/node_modules/which/bin/node-which +0 -0
- package/server/node_modules/win-release/node_modules/semver/bin/semver +0 -0
- package/server/node_modules/wrap-ansi/index.js +0 -0
- package/templates/nginx.dev.conf +57 -0
- package/templates/nginx.prod.conf +75 -0
- package/ui/banner.js +432 -13
- package/ui/interactive.js +248 -52
- package/ui/theme.js +250 -10
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const dateFormat: (date?: any, format?: string) => string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.dateFormat = void 0;
|
|
4
|
+
const date_fns_1 = require("date-fns");
|
|
5
|
+
const dateFormat = (date = null, format = 'yyyy-MM-dd HH:mm:ss') => {
|
|
6
|
+
if (date === null || date === undefined) {
|
|
7
|
+
date = new Date();
|
|
8
|
+
}
|
|
9
|
+
const t = date instanceof Date ? date : new Date(date);
|
|
10
|
+
return date_fns_1.format(t, format);
|
|
11
|
+
};
|
|
12
|
+
exports.dateFormat = dateFormat;
|
|
13
|
+
//# sourceMappingURL=date.util.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date.util.js","sourceRoot":"","sources":["../../src/utils/date.util.ts"],"names":[],"mappings":";;;AAAA,uCAAkD;AAE3C,MAAM,UAAU,GAAG,CAAC,IAAI,GAAG,IAAI,EAAE,MAAM,GAAG,qBAAqB,EAAE,EAAE;IACxE,IAAI,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,SAAS,EAAE;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;KACnB;IAED,MAAM,CAAC,GAAG,IAAI,YAAY,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;IAEvD,OAAO,iBAAY,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AACjC,CAAC,CAAC;AARW,QAAA,UAAU,cAQrB"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.parseIp = exports.getClientIP = void 0;
|
|
4
|
+
const ipSearcher = require('node-ip2region').create();
|
|
5
|
+
function getClientIP(req) {
|
|
6
|
+
const ip = req.headers['x-real-ip'] ||
|
|
7
|
+
req.headers['x-forwarded-for'] ||
|
|
8
|
+
(req.connection && req.connection.remoteAddress) ||
|
|
9
|
+
(req.socket && req.socket.remoteAddress) ||
|
|
10
|
+
(req.connection && req.connection.socket && req.connection.socket.remoteAddress);
|
|
11
|
+
return ip ? ip.split(':').pop() : '';
|
|
12
|
+
}
|
|
13
|
+
exports.getClientIP = getClientIP;
|
|
14
|
+
function parseIp(ip) {
|
|
15
|
+
try {
|
|
16
|
+
const { region } = ipSearcher.btreeSearchSync(ip);
|
|
17
|
+
return region
|
|
18
|
+
.split('|')
|
|
19
|
+
.filter((d) => +d !== 0)
|
|
20
|
+
.join(' ');
|
|
21
|
+
}
|
|
22
|
+
catch (e) {
|
|
23
|
+
return '';
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.parseIp = parseIp;
|
|
27
|
+
//# sourceMappingURL=ip.util.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ip.util.js","sourceRoot":"","sources":["../../src/utils/ip.util.ts"],"names":[],"mappings":";;;AACA,MAAM,UAAU,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC,MAAM,EAAE,CAAC;AAEtD,SAAgB,WAAW,CAAC,GAAG;IAC7B,MAAM,EAAE,GACN,GAAG,CAAC,OAAO,CAAC,WAAW,CAAC;QACxB,GAAG,CAAC,OAAO,CAAC,iBAAiB,CAAC;QAC9B,CAAC,GAAG,CAAC,UAAU,IAAI,GAAG,CAAC,UAAU,CAAC,aAAa,CAAC;QAChD,CAAC,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,MAAM,CAAC,aAAa,CAAC;QACxC,CAAC,GAAG,CAAC,UAAU,IAAI,GAAG,CAAC,UAAU,CAAC,MAAM,IAAI,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IAEnF,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;AACvC,CAAC;AATD,kCASC;AAED,SAAgB,OAAO,CAAC,EAAE;IACxB,IAAI;QACF,MAAM,EAAE,MAAM,EAAE,GAAG,UAAU,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;QAClD,OAAO,MAAM;aACV,KAAK,CAAC,GAAG,CAAC;aACV,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;aACvB,IAAI,CAAC,GAAG,CAAC,CAAC;KACd;IAAC,OAAO,CAAC,EAAE;QACV,OAAO,EAAE,CAAC;KACX;AACH,CAAC;AAVD,0BAUC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.marked = void 0;
|
|
4
|
+
const hljs = require("highlight.js");
|
|
5
|
+
const Marked = require("marked");
|
|
6
|
+
const renderer = new Marked.Renderer();
|
|
7
|
+
renderer.heading = (text, level) => {
|
|
8
|
+
const escapedText = text.toLowerCase().replace(/[^\w]+/g, '-');
|
|
9
|
+
return `
|
|
10
|
+
<h${level}>
|
|
11
|
+
<a name="${escapedText}" class="anchor" href="#${escapedText}">
|
|
12
|
+
<span class="header-link"></span>
|
|
13
|
+
</a>
|
|
14
|
+
${text}
|
|
15
|
+
</h${level}>`;
|
|
16
|
+
};
|
|
17
|
+
Marked.setOptions({
|
|
18
|
+
highlight(code, lang) {
|
|
19
|
+
if (hljs.getLanguage(lang)) {
|
|
20
|
+
return hljs.highlight(lang, code).value;
|
|
21
|
+
}
|
|
22
|
+
return hljs.highlightAuto(code).value;
|
|
23
|
+
},
|
|
24
|
+
renderer,
|
|
25
|
+
});
|
|
26
|
+
const marked = (content) => {
|
|
27
|
+
const toc = [];
|
|
28
|
+
renderer.heading = (text, level) => {
|
|
29
|
+
const anchor = 'heading-' + toc.length;
|
|
30
|
+
toc.push([level, anchor, text]);
|
|
31
|
+
return `<h${level} id="${anchor}">${text}</h${level}>`;
|
|
32
|
+
};
|
|
33
|
+
const marked = (text) => {
|
|
34
|
+
const tok = Marked.lexer(text);
|
|
35
|
+
text = Marked.parser(tok).replace(/<pre>/gi, '<pre class="hljs">');
|
|
36
|
+
return text;
|
|
37
|
+
};
|
|
38
|
+
const html = marked(content);
|
|
39
|
+
return { html, toc: JSON.stringify(toc, null, 2) };
|
|
40
|
+
};
|
|
41
|
+
exports.marked = marked;
|
|
42
|
+
//# sourceMappingURL=markdown.util.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"markdown.util.js","sourceRoot":"","sources":["../../src/utils/markdown.util.ts"],"names":[],"mappings":";;;AAAA,qCAAqC;AACrC,iCAAiC;AAEjC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC;AAEvC,QAAQ,CAAC,OAAO,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;IACjC,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC;IAE/D,OAAO;IACL,KAAK;aACI,WAAW,2BAA2B,WAAW;;;IAG1D,IAAI;KACH,KAAK,GAAG,CAAC;AACd,CAAC,CAAC;AAEF,MAAM,CAAC,UAAU,CAAC;IAChB,SAAS,CAAC,IAAY,EAAE,IAAY;QAClC,IAAI,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE;YAC1B,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,KAAK,CAAC;SACzC;QACD,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC;IACxC,CAAC;IACD,QAAQ;CACT,CAAC,CAAC;AAEI,MAAM,MAAM,GAAG,CAAC,OAAe,EAAiC,EAAE;IACvE,MAAM,GAAG,GAAG,EAAE,CAAC;IAEf,QAAQ,CAAC,OAAO,GAAG,CAAC,IAAY,EAAE,KAAa,EAAE,EAAE;QACjD,MAAM,MAAM,GAAG,UAAU,GAAG,GAAG,CAAC,MAAM,CAAC;QAEvC,GAAG,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;QAChC,OAAO,KAAK,KAAK,QAAQ,MAAM,KAAK,IAAI,MAAM,KAAK,GAAG,CAAC;IACzD,CAAC,CAAC;IAEF,MAAM,MAAM,GAAG,CAAC,IAAY,EAAE,EAAE;QAC9B,MAAM,GAAG,GAAG,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAC/B,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAAC;QACnE,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;IAEF,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC;IAC7B,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC;AACrD,CAAC,CAAC;AAlBW,QAAA,MAAM,UAkBjB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AliyunOssClient = void 0;
|
|
4
|
+
const AliyunOSS = require("ali-oss");
|
|
5
|
+
const oss_client_1 = require("./oss-client");
|
|
6
|
+
class AliyunOssClient extends oss_client_1.OssClient {
|
|
7
|
+
async buildClient() {
|
|
8
|
+
const config = this.config;
|
|
9
|
+
return new AliyunOSS({
|
|
10
|
+
region: config.region,
|
|
11
|
+
accessKeyId: config.accessKeyId,
|
|
12
|
+
accessKeySecret: config.accessKeySecret,
|
|
13
|
+
bucket: config.bucket,
|
|
14
|
+
secure: config.https,
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async putFile(filepath, buffer) {
|
|
18
|
+
const client = await this.buildClient();
|
|
19
|
+
const { url } = await client.put(filepath, buffer);
|
|
20
|
+
return url;
|
|
21
|
+
}
|
|
22
|
+
async deleteFile(url) {
|
|
23
|
+
const client = await this.buildClient();
|
|
24
|
+
await client.delete(url);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.AliyunOssClient = AliyunOssClient;
|
|
28
|
+
//# sourceMappingURL=aliyun-oss-client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aliyun-oss-client.js","sourceRoot":"","sources":["../../../src/utils/oss/aliyun-oss-client.ts"],"names":[],"mappings":";;;AAAA,qCAAqC;AAErC,6CAAyC;AAEzC,MAAa,eAAgB,SAAQ,sBAAS;IACpC,KAAK,CAAC,WAAW;QACvB,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;QAC3B,OAAO,IAAI,SAAS,CAAC;YACnB,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,WAAW,EAAE,MAAM,CAAC,WAAW;YAC/B,eAAe,EAAE,MAAM,CAAC,eAAe;YACvC,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,MAAM,EAAE,MAAM,CAAC,KAAK;SACrB,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,QAAgB,EAAE,MAAsB;QACpD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC;QACxC,MAAM,EAAE,GAAG,EAAE,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;QACnD,OAAO,GAAG,CAAC;IACb,CAAC;IAED,KAAK,CAAC,UAAU,CAAC,GAAW;QAC1B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC;QACxC,MAAM,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC;CACF;AAtBD,0CAsBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oss-client.js","sourceRoot":"","sources":["../../../src/utils/oss/oss-client.ts"],"names":[],"mappings":";;;AAAA,MAAsB,SAAS;IAG7B,YAAY,MAAM;QAChB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;CAIF;AATD,8BASC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SettingService } from '../modules/setting/setting.service';
|
|
2
|
+
import { OssClient } from './oss/oss-client';
|
|
3
|
+
export declare class Oss {
|
|
4
|
+
settingService: SettingService;
|
|
5
|
+
config: Record<string, unknown>;
|
|
6
|
+
ossClient: OssClient;
|
|
7
|
+
constructor(settingService: SettingService);
|
|
8
|
+
hasOssConfig(): Promise<boolean>;
|
|
9
|
+
private getConfig;
|
|
10
|
+
private getOssClient;
|
|
11
|
+
putFile(filepath: string, buffer: ReadableStream): Promise<any>;
|
|
12
|
+
deleteFile(url: string): Promise<void>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Oss = void 0;
|
|
4
|
+
const api_messages_1 = require("../common/api-messages");
|
|
5
|
+
const common_1 = require("@nestjs/common");
|
|
6
|
+
const aliyun_oss_client_1 = require("./oss/aliyun-oss-client");
|
|
7
|
+
class Oss {
|
|
8
|
+
constructor(settingService) {
|
|
9
|
+
this.settingService = settingService;
|
|
10
|
+
}
|
|
11
|
+
async hasOssConfig() {
|
|
12
|
+
try {
|
|
13
|
+
const data = await this.settingService.findAll(true);
|
|
14
|
+
const config = JSON.parse(data.oss);
|
|
15
|
+
return !!config;
|
|
16
|
+
}
|
|
17
|
+
catch (e) {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
async getConfig() {
|
|
22
|
+
const data = await this.settingService.findAll(true);
|
|
23
|
+
const config = JSON.parse(data.oss);
|
|
24
|
+
if (!config) {
|
|
25
|
+
throw new common_1.HttpException(api_messages_1.ApiMsg.OSS_CONFIG_INCOMPLETE, common_1.HttpStatus.BAD_REQUEST);
|
|
26
|
+
}
|
|
27
|
+
return config;
|
|
28
|
+
}
|
|
29
|
+
async getOssClient() {
|
|
30
|
+
const config = await this.getConfig();
|
|
31
|
+
const type = String(config.type).toLowerCase();
|
|
32
|
+
switch (type) {
|
|
33
|
+
case 'aliyun':
|
|
34
|
+
default:
|
|
35
|
+
return new aliyun_oss_client_1.AliyunOssClient(config);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
async putFile(filepath, buffer) {
|
|
39
|
+
const client = await this.getOssClient();
|
|
40
|
+
const url = await client.putFile(filepath, buffer);
|
|
41
|
+
return url;
|
|
42
|
+
}
|
|
43
|
+
async deleteFile(url) {
|
|
44
|
+
const client = await this.getOssClient();
|
|
45
|
+
await client.deleteFile(url);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.Oss = Oss;
|
|
49
|
+
//# sourceMappingURL=oss.util.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oss.util.js","sourceRoot":"","sources":["../../src/utils/oss.util.ts"],"names":[],"mappings":";;;AAAA,yDAAgD;AAChD,2CAA2D;AAG3D,+DAA0D;AAG1D,MAAa,GAAG;IAKd,YAAY,cAA8B;QACxC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;IACvC,CAAC;IAKM,KAAK,CAAC,YAAY;QACvB,IAAI;YACF,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YACrD,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACpC,OAAO,CAAC,CAAC,MAAM,CAAC;SACjB;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,KAAK,CAAC;SACd;IACH,CAAC;IAEO,KAAK,CAAC,SAAS;QACrB,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACrD,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACpC,IAAI,CAAC,MAAM,EAAE;YACX,MAAM,IAAI,sBAAa,CAAC,qBAAM,CAAC,qBAAqB,EAAE,mBAAU,CAAC,WAAW,CAAC,CAAC;SAC/E;QACD,OAAO,MAAiC,CAAC;IAC3C,CAAC;IAEO,KAAK,CAAC,YAAY;QACxB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACtC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,CAAC;QAE/C,QAAQ,IAAI,EAAE;YACZ,KAAK,QAAQ,CAAC;YACd;gBACE,OAAO,IAAI,mCAAe,CAAC,MAAM,CAAC,CAAC;SACtC;IACH,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,QAAgB,EAAE,MAAsB;QACpD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,YAAY,EAAE,CAAC;QACzC,MAAM,GAAG,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;QACnD,OAAO,GAAG,CAAC;IACb,CAAC;IAED,KAAK,CAAC,UAAU,CAAC,GAAW;QAC1B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,YAAY,EAAE,CAAC;QACzC,MAAM,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;IAC/B,CAAC;CACF;AApDD,kBAoDC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.parseUserAgent = void 0;
|
|
4
|
+
const get = require("lodash/get");
|
|
5
|
+
const UAParser = require("ua-parser-js");
|
|
6
|
+
const keys = [
|
|
7
|
+
'browser.name',
|
|
8
|
+
'browser.version',
|
|
9
|
+
'engine.name',
|
|
10
|
+
'engine.version',
|
|
11
|
+
'os.name',
|
|
12
|
+
'os.version',
|
|
13
|
+
'device.vendor',
|
|
14
|
+
'device.model',
|
|
15
|
+
'device.type',
|
|
16
|
+
];
|
|
17
|
+
const joinMsg = (ua, keys) => keys
|
|
18
|
+
.map((key) => get(ua, key))
|
|
19
|
+
.filter(Boolean)
|
|
20
|
+
.join(' ');
|
|
21
|
+
const parseUserAgent = (userAgent) => {
|
|
22
|
+
const uaparser = new UAParser();
|
|
23
|
+
uaparser.setUA(userAgent);
|
|
24
|
+
const ua = uaparser.getResult();
|
|
25
|
+
return {
|
|
26
|
+
data: {
|
|
27
|
+
browser: joinMsg(ua, keys.slice(0, 2)),
|
|
28
|
+
engine: joinMsg(ua, keys.slice(2, 4)),
|
|
29
|
+
os: joinMsg(ua, keys.slice(4, 6)),
|
|
30
|
+
device: joinMsg(ua, keys.slice(6)),
|
|
31
|
+
},
|
|
32
|
+
text: joinMsg(ua, keys),
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
exports.parseUserAgent = parseUserAgent;
|
|
36
|
+
//# sourceMappingURL=ua.util.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua.util.js","sourceRoot":"","sources":["../../src/utils/ua.util.ts"],"names":[],"mappings":";;;AAAA,kCAAkC;AAClC,yCAAyC;AAEzC,MAAM,IAAI,GAAG;IACX,cAAc;IACd,iBAAiB;IACjB,aAAa;IACb,gBAAgB;IAChB,SAAS;IACT,YAAY;IACZ,eAAe;IACf,cAAc;IACd,aAAa;CACd,CAAC;AAEF,MAAM,OAAO,GAAG,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,CAC3B,IAAI;KACD,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC;KAC1B,MAAM,CAAC,OAAO,CAAC;KACf,IAAI,CAAC,GAAG,CAAC,CAAC;AAER,MAAM,cAAc,GAAG,CAAC,SAAS,EAAE,EAAE;IAC1C,MAAM,QAAQ,GAAG,IAAI,QAAQ,EAAE,CAAC;IAChC,QAAQ,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;IAC1B,MAAM,EAAE,GAAG,QAAQ,CAAC,SAAS,EAAE,CAAC;IAEhC,OAAO;QACL,IAAI,EAAE;YACJ,OAAO,EAAE,OAAO,CAAC,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;YACtC,MAAM,EAAE,OAAO,CAAC,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;YACrC,EAAE,EAAE,OAAO,CAAC,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;YACjC,MAAM,EAAE,OAAO,CAAC,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;SACnC;QACD,IAAI,EAAE,OAAO,CAAC,EAAE,EAAE,IAAI,CAAC;KACxB,CAAC;AACJ,CAAC,CAAC;AAdW,QAAA,cAAc,kBAczB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function uniqueid(): string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.uniqueid = void 0;
|
|
4
|
+
const nuid_1 = require("nuid");
|
|
5
|
+
function uniqueid() {
|
|
6
|
+
return nuid_1.next();
|
|
7
|
+
}
|
|
8
|
+
exports.uniqueid = uniqueid;
|
|
9
|
+
//# sourceMappingURL=uniqueid.util.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uniqueid.util.js","sourceRoot":"","sources":["../../src/utils/uniqueid.util.ts"],"names":[],"mappings":";;;AAAA,+BAA4B;AAE5B,SAAgB,QAAQ;IACtB,OAAO,WAAI,EAAE,CAAC;AAChB,CAAC;AAFD,4BAEC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LocalUpload = void 0;
|
|
4
|
+
const fs = require("fs");
|
|
5
|
+
const path = require("path");
|
|
6
|
+
class LocalUpload {
|
|
7
|
+
mkdDirsSync(dirname) {
|
|
8
|
+
if (fs.existsSync(dirname)) {
|
|
9
|
+
return true;
|
|
10
|
+
}
|
|
11
|
+
else {
|
|
12
|
+
if (this.mkdDirsSync(path.dirname(dirname))) {
|
|
13
|
+
fs.mkdirSync(dirname);
|
|
14
|
+
return true;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
putFile(filename, buffer) {
|
|
19
|
+
const saveFile = path.join(__dirname, `../../public/uploads/${filename}`);
|
|
20
|
+
const dirName = path.dirname(saveFile);
|
|
21
|
+
this.mkdDirsSync(dirName);
|
|
22
|
+
fs.writeFileSync(saveFile, buffer);
|
|
23
|
+
return saveFile;
|
|
24
|
+
}
|
|
25
|
+
deleteFile(filename) {
|
|
26
|
+
const saveFileFolder = path.join(__dirname, '../../public/uploads');
|
|
27
|
+
const filePath = `${saveFileFolder}/${filename}`;
|
|
28
|
+
if (fs.existsSync(filePath)) {
|
|
29
|
+
fs.unlinkSync(filePath);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.LocalUpload = LocalUpload;
|
|
34
|
+
//# sourceMappingURL=upload.util.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upload.util.js","sourceRoot":"","sources":["../../src/utils/upload.util.ts"],"names":[],"mappings":";;;AAAA,yBAAyB;AACzB,6BAA6B;AAE7B,MAAa,WAAW;IAEd,WAAW,CAAC,OAAO;QACzB,IAAI,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE;YAC1B,OAAO,IAAI,CAAC;SACb;aAAM;YACL,IAAI,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,EAAE;gBAC3C,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;gBACtB,OAAO,IAAI,CAAC;aACb;SACF;IACH,CAAC;IAEM,OAAO,CAAC,QAAQ,EAAE,MAAsB;QAC7C,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,wBAAwB,QAAQ,EAAE,CAAC,CAAC;QAC1E,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAEvC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;QAE1B,EAAE,CAAC,aAAa,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;QACnC,OAAO,QAAQ,CAAC;IAClB,CAAC;IAEM,UAAU,CAAC,QAAQ;QACxB,MAAM,cAAc,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,sBAAsB,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,GAAG,cAAc,IAAI,QAAQ,EAAE,CAAC;QACjD,IAAI,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;YAC3B,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;SACzB;IACH,CAAC;CACF;AA9BD,kCA8BC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isValidUsername(username: any): boolean;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isValidUsername = void 0;
|
|
4
|
+
function isValidUsername(username) {
|
|
5
|
+
var reg = /^[a-zA-Z0-9_]+$/;
|
|
6
|
+
if (!reg.test(username)) {
|
|
7
|
+
return false;
|
|
8
|
+
}
|
|
9
|
+
if (/\s/.test(username)) {
|
|
10
|
+
return false;
|
|
11
|
+
}
|
|
12
|
+
if (username.indexOf('admin') >= 0 || username.indexOf('root') >= 0) {
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
return true;
|
|
16
|
+
}
|
|
17
|
+
exports.isValidUsername = isValidUsername;
|
|
18
|
+
//# sourceMappingURL=user.util.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.util.js","sourceRoot":"","sources":["../../src/utils/user.util.ts"],"names":[],"mappings":";;;AAAA,SAAgB,eAAe,CAAC,QAAQ;IAEtC,IAAI,GAAG,GAAG,iBAAiB,CAAC;IAC5B,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;QACvB,OAAO,KAAK,CAAC;KACd;IAED,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;QACvB,OAAO,KAAK,CAAC;KACd;IAED,IAAI,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;QACnE,OAAO,KAAK,CAAC;KACd;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAfD,0CAeC"}
|
|
@@ -10,3 +10,126 @@
|
|
|
10
10
|
[2026-05-19T00:26:51.237] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
11
11
|
[2026-05-19T00:30:07.963] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
12
12
|
[2026-05-19T05:20:53.319] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
13
|
+
[2026-05-19T11:04:11.144] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
14
|
+
[2026-05-19T11:04:15.189] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
15
|
+
[2026-05-19T11:15:38.800] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
16
|
+
[2026-05-19T11:15:41.984] [ERROR] error - /api/health {
|
|
17
|
+
statusCode: 404,
|
|
18
|
+
msg: 'Cannot GET /api/health',
|
|
19
|
+
success: false,
|
|
20
|
+
data: null
|
|
21
|
+
}
|
|
22
|
+
[2026-05-19T11:16:13.338] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
23
|
+
[2026-05-19T11:16:18.328] [ERROR] error - /api/health {
|
|
24
|
+
statusCode: 404,
|
|
25
|
+
msg: 'Cannot GET /api/health',
|
|
26
|
+
success: false,
|
|
27
|
+
data: null
|
|
28
|
+
}
|
|
29
|
+
[2026-05-19T11:16:18.411] [ERROR] error - /api/health {
|
|
30
|
+
statusCode: 404,
|
|
31
|
+
msg: 'Cannot GET /api/health',
|
|
32
|
+
success: false,
|
|
33
|
+
data: null
|
|
34
|
+
}
|
|
35
|
+
[2026-05-19T11:16:34.652] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
36
|
+
[2026-05-19T11:16:34.672] [ERROR] error - /api/health {
|
|
37
|
+
statusCode: 404,
|
|
38
|
+
msg: 'Cannot GET /api/health',
|
|
39
|
+
success: false,
|
|
40
|
+
data: null
|
|
41
|
+
}
|
|
42
|
+
[2026-05-19T11:16:34.691] [ERROR] error - /health {
|
|
43
|
+
statusCode: 404,
|
|
44
|
+
msg: 'Cannot GET /health',
|
|
45
|
+
success: false,
|
|
46
|
+
data: null
|
|
47
|
+
}
|
|
48
|
+
[2026-05-19T11:17:31.501] [ERROR] error - /api/health {
|
|
49
|
+
statusCode: 404,
|
|
50
|
+
msg: 'Cannot GET /api/health',
|
|
51
|
+
success: false,
|
|
52
|
+
data: null
|
|
53
|
+
}
|
|
54
|
+
[2026-05-19T11:17:31.645] [ERROR] error - /api/health {
|
|
55
|
+
statusCode: 404,
|
|
56
|
+
msg: 'Cannot GET /api/health',
|
|
57
|
+
success: false,
|
|
58
|
+
data: null
|
|
59
|
+
}
|
|
60
|
+
[2026-05-19T11:18:00.985] [ERROR] error - /api/health {
|
|
61
|
+
statusCode: 404,
|
|
62
|
+
msg: 'Cannot GET /api/health',
|
|
63
|
+
success: false,
|
|
64
|
+
data: null
|
|
65
|
+
}
|
|
66
|
+
[2026-05-19T11:18:01.113] [ERROR] error - /api/health {
|
|
67
|
+
statusCode: 404,
|
|
68
|
+
msg: 'Cannot GET /api/health',
|
|
69
|
+
success: false,
|
|
70
|
+
data: null
|
|
71
|
+
}
|
|
72
|
+
[2026-05-19T11:24:17.894] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
73
|
+
[2026-05-19T11:25:10.924] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
74
|
+
[2026-05-19T11:25:15.137] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
75
|
+
[2026-05-19T11:25:26.744] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
76
|
+
[2026-05-19T11:25:29.005] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
77
|
+
[2026-05-19T11:25:39.370] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
78
|
+
[2026-05-19T11:25:45.385] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
79
|
+
[2026-05-19T11:26:02.879] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
80
|
+
[2026-05-19T11:26:09.414] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
81
|
+
[2026-05-19T11:26:19.992] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
82
|
+
[2026-05-19T11:26:44.758] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
83
|
+
[2026-05-19T11:26:47.158] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
84
|
+
[2026-05-19T11:27:07.101] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
85
|
+
[2026-05-19T11:27:07.103] [ERROR] error - /api/health {
|
|
86
|
+
statusCode: 404,
|
|
87
|
+
msg: 'Cannot GET /api/health',
|
|
88
|
+
success: false,
|
|
89
|
+
data: null
|
|
90
|
+
}
|
|
91
|
+
[2026-05-19T11:27:18.593] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
92
|
+
[2026-05-19T11:27:18.644] [ERROR] error - /favicon.ico {
|
|
93
|
+
statusCode: 404,
|
|
94
|
+
msg: 'Cannot GET /favicon.ico',
|
|
95
|
+
success: false,
|
|
96
|
+
data: null
|
|
97
|
+
}
|
|
98
|
+
[2026-05-19T11:56:17.870] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
99
|
+
[2026-05-19T11:56:41.459] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
100
|
+
[2026-05-19T11:57:10.815] [ERROR] error - /api/health {
|
|
101
|
+
statusCode: 404,
|
|
102
|
+
msg: 'Cannot GET /api/health',
|
|
103
|
+
success: false,
|
|
104
|
+
data: null
|
|
105
|
+
}
|
|
106
|
+
[2026-05-19T11:57:10.830] [ERROR] error - /api/health {
|
|
107
|
+
statusCode: 404,
|
|
108
|
+
msg: 'Cannot GET /api/health',
|
|
109
|
+
success: false,
|
|
110
|
+
data: null
|
|
111
|
+
}
|
|
112
|
+
[2026-05-19T11:57:27.507] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
113
|
+
[2026-05-19T11:57:27.698] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
114
|
+
[2026-05-19T11:57:30.510] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
115
|
+
[2026-05-19T11:57:38.085] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
116
|
+
[2026-05-19T12:05:04.361] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
117
|
+
[2026-05-19T12:28:04.206] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
118
|
+
[2026-05-19T12:32:14.111] [ERROR] error - /api/health {
|
|
119
|
+
statusCode: 404,
|
|
120
|
+
msg: 'Cannot GET /api/health',
|
|
121
|
+
success: false,
|
|
122
|
+
data: null
|
|
123
|
+
}
|
|
124
|
+
[2026-05-19T12:32:14.235] [ERROR] error - /api/health {
|
|
125
|
+
statusCode: 404,
|
|
126
|
+
msg: 'Cannot GET /api/health',
|
|
127
|
+
success: false,
|
|
128
|
+
data: null
|
|
129
|
+
}
|
|
130
|
+
[2026-05-19T12:32:23.529] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
131
|
+
[2026-05-19T12:37:15.881] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
132
|
+
[2026-05-19T12:37:54.201] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
133
|
+
[2026-05-19T12:41:54.991] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
134
|
+
[2026-05-19T12:43:21.609] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
135
|
+
[2026-05-19T14:15:07.957] [ERROR] error - / { statusCode: 404, msg: 'Cannot GET /', success: false, data: null }
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|