fix(server): photo uploads not working, fix save location and returned url

fix #658
This commit is contained in:
Amruth Pillai
2022-03-12 12:37:04 +01:00
parent dda42b4c6b
commit 799f20823e
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ import { UsersModule } from './users/users.module';
@Module({
imports: [
ServeStaticModule.forRoot({
serveRoot: '/api',
serveRoot: '/assets',
rootPath: join(__dirname, 'assets'),
}),
ConfigModule,