mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-11-13 15:25:39 +01:00
Make backend and frontend work together
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { AuthModule } from './routes/auth/auth.module';
|
||||
import { AuthModule } from './routes/api/auth/auth.module';
|
||||
import { UserEntity } from './collections/userdb/user.entity';
|
||||
import { ImageModule } from './routes/image/imageroute.module';
|
||||
import { ServeStaticModule } from '@nestjs/serve-static';
|
||||
import Config from './env';
|
||||
import { ImageEntity } from './collections/imagedb/image.entity';
|
||||
|
||||
const backendRoutes = ['i', 'api'];
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
TypeOrmModule.forRoot({
|
||||
|
||||
Reference in New Issue
Block a user