zhangjinyang
2025-04-10 e90c9bad97161f4397b76005dbb3318ee59a679f
fix: local file storage path
3个文件已修改
27 ■■■■■ 已修改文件
aiflowy-starter/src/main/resources/application-prod.yml 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
aiflowy-starter/src/main/resources/application.yml 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
aiflowy-ui-react/vite.config.ts 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
aiflowy-starter/src/main/resources/application-prod.yml
@@ -1,12 +1,8 @@
# DataSource Config
spring:
  config:
    activate:
      on-profile: prod
  profiles:
    active: prod
  datasource:
    url: jdbc:mysql://127.0.0.1:3306/aiflowy
    url: jdbc:mysql://127.0.0.1:3306/aiflowy?useInformationSchema=true&characterEncoding=utf-8
    username: root
    password: 123456
aiflowy:
  jwt:
    secret: 123123
    password: 123456
aiflowy-starter/src/main/resources/application.yml
@@ -12,15 +12,16 @@
    multipart:
      max-file-size: 100MB
      max-request-size: 100MB
  web:
    resources:
      static-locations: classpath:/public
  mvc:
    static-path-pattern: /static/**
aiflowy:
  storage:
    local:
      root: 'D'
  jwt:
    secret: 123123sdfjlakjdfadsafwoieurew
      root: ''
  ollama:
    host: http://127.0.0.1:11434
  login:
    excludes: /api/v1/auth/**
  permission:
    excludes: /api/v1/auth/**
    excludes: /api/v1/auth/**, /static/**
aiflowy-ui-react/vite.config.ts
@@ -19,7 +19,7 @@
                target: 'http://localhost:8080/',
            },
            '^/attachment/': {
                target: 'http://localhost:8899/public',
                target: 'http://localhost:8080/static/',
            },
        },
    },