Update security middleware and update Docker configurations
- Added a new parameter to the SecurityMiddleware function to allow custom handling of forbidden requests. - Updated Docker configurations to enable asset caching for improved performance. - Bumped version number in the Dockerfile to 0.3.0 and refined the image description for clarity. - Adjusted various frontend components and error handling to support new rate limiting and forbidden access messages. - Improved documentation in multiple languages to reflect recent changes in features and security measures.
This commit is contained in:
4
Makefile
4
Makefile
@@ -1,4 +1,4 @@
|
||||
.PHONY: all build-frontend build-go build-wasm clean release run lint scan check format test test-wasm dev docker-build
|
||||
.PHONY: all build-frontend build-go build-wasm clean release run lint scan check format tidy test test-wasm dev docker-build
|
||||
|
||||
BINARY_NAME=software-station
|
||||
FRONTEND_DIR=frontend
|
||||
@@ -51,6 +51,8 @@ scan:
|
||||
check:
|
||||
cd $(FRONTEND_DIR) && pnpm run check
|
||||
|
||||
tidy: format lint check
|
||||
|
||||
test: test-wasm
|
||||
go test -v -coverpkg=./... ./...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user