fix: local file storage path
| | |
| | | # 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 |
| | |
| | | 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/** |
| | |
| | | target: 'http://localhost:8080/', |
| | | }, |
| | | '^/attachment/': { |
| | | target: 'http://localhost:8899/public', |
| | | target: 'http://localhost:8080/static/', |
| | | }, |
| | | }, |
| | | }, |