mirror of
https://github.com/239573049/FastGateway.git
synced 2026-10-16 21:10:58 +08:00
更新镜像
删除授权校验
This commit is contained in:
+3
-10
@@ -1,5 +1,4 @@
|
||||
**/.classpath
|
||||
**/.dockerignore
|
||||
**/.dockerignore
|
||||
**/.env
|
||||
**/.git
|
||||
**/.gitignore
|
||||
@@ -8,6 +7,7 @@
|
||||
**/.toolstarget
|
||||
**/.vs
|
||||
**/.vscode
|
||||
**/.idea
|
||||
**/*.*proj.user
|
||||
**/*.dbmdl
|
||||
**/*.jfm
|
||||
@@ -22,11 +22,4 @@
|
||||
**/secrets.dev.yaml
|
||||
**/values.dev.yaml
|
||||
LICENSE
|
||||
README.md
|
||||
!**/.gitignore
|
||||
!.git/HEAD
|
||||
!.git/config
|
||||
!.git/packed-refs
|
||||
!.git/refs/heads/**
|
||||
**/node_modules
|
||||
**/dist
|
||||
README.md
|
||||
@@ -1,5 +1,5 @@
|
||||
FROM registry.token-ai.cn/dotnet/aspnet:9.0-preview AS base
|
||||
USER root
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
|
||||
USER $APP_UID
|
||||
RUN ln -snf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo Asia/Shanghai > /etc/timezone
|
||||
RUN apt update \
|
||||
&& apt-get install -y --no-install-recommends curl \
|
||||
@@ -11,7 +11,7 @@ RUN apt update \
|
||||
&& apt-get purge -y --auto-remove wget && apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
WORKDIR /app
|
||||
EXPOSE 8080
|
||||
|
||||
EXPOSE 8081
|
||||
|
||||
FROM node as builder
|
||||
WORKDIR /src
|
||||
@@ -19,8 +19,7 @@ COPY web .
|
||||
RUN npm i
|
||||
RUN npm run build
|
||||
|
||||
|
||||
FROM registry.token-ai.cn/dotnet/sdk:9.0-preview AS build
|
||||
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
|
||||
ARG BUILD_CONFIGURATION=Release
|
||||
WORKDIR /src
|
||||
COPY ["src/FastGateway.Service/FastGateway.Service.csproj", "src/FastGateway.Service/"]
|
||||
|
||||
@@ -10,7 +10,6 @@ public static class AuthorizationServiceExtensions
|
||||
var routeGroupBuilder = app.MapGroup("/api/v1/authorization")
|
||||
.WithTags("授权")
|
||||
.WithDescription("授权")
|
||||
.RequireAuthorization()
|
||||
.AddEndpointFilter<ResultFilter>()
|
||||
.WithDisplayName("授权");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user