Spring Security 自定义状态码,防止正常状态码被 403 覆盖 在项目中加入 Spring Security 后,它会将所有的错误状态码覆盖为 403,例如 400, 405 和 500,我们也可能需要将 403 改为 401 作为未登录的状态码。本文将介绍如何自定义 AuthenticationEntryPoint 以解决此问题。 2023-07-05 技术 > 软件开发 > 后端开发 #Spring #Spring Boot #Spring Security #HTTP
Element UI 通用图片骨架屏组件 近年来,骨架屏(Skeleton)逐渐成为一种流行的加载动画,其显著增强了用户等待过程中的体验。本文实现了 Vue.js + Element UI 的通用图片骨架屏组件。 2022-11-16 技术 > 软件开发 > 前端开发 #前端 #Vue.js #Element UI #骨架屏
Windows 连接 smb 非标准端口 当使用家庭宽带将 smb 服务转发到公网时,由于 445 端口被封,必须使用其它端口,而 Windows 系统只支持连接标准端口,需要通过端口转发解决此问题。 2022-09-03 技术 > 经验分享 #Windows #端口转发
【MCDR Tutorials 01】Introduction The significant server management tool. 2022-08-23 Minecraft > MCDR系列教程 #Minecraft #MCDReforged #Python
购买西数 4T 新紫盘 以前搭 NAS 的时候用了块家里旧台式机拆下来的硬盘,只有 512G,容量一直挺吃紧的,加上这个硬盘快十年了,不放心安全性,决定换个新的。 2022-08-02 日常 > 开箱 #开箱
Git Conventional Commits The Conventional Commits specification is a lightweight convention on top of commit messages. It provides an easy set of rules for creating an explicit commit history; which makes it easier to write 2022-06-28 技术 > 软件开发 > Git #Git #GitHub #VS Code
Git 约定式提交 约定式提交规范是一种基于提交信息的轻量级约定。它提供了一组简单规则来创建清晰的提交历史;这更有利于编写自动化工具。通过在提交信息中描述功能、修复和破坏性变更,使这种惯例与 SemVer 相互对应。 2022-06-28 技术 > 软件开发 > Git #Git #GitHub #VS Code