changes to imports & import Embeddings
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
import { NestFactory } from '@nestjs/core';
|
||||
import express from 'express';
|
||||
import path from 'path';
|
||||
import { fileURLToPath } from 'url';
|
||||
import { AppModule } from './app.module.js';
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
|
||||
async function bootstrap() {
|
||||
const server = express();
|
||||
const app = await NestFactory.create(AppModule);
|
||||
|
||||
Reference in New Issue
Block a user