Explorar o código

feat: bootstrap NestJS server with HTTPS support and add TFLite model assets

Dr-Swopt hai 5 días
pai
achega
8a7a5e8336
Modificáronse 3 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main.ts
  2. BIN=BIN
      tflite/best_float16.tflite
  3. BIN=BIN
      tflite/best_float32.tflite

+ 1 - 1
src/main.ts

@@ -13,7 +13,7 @@ async function bootstrap() {
   const app = await NestFactory.create(AppModule, { httpsOptions });
 
   app.enableCors({
-    origin: 'https://192.168.100.100:4200',
+    origin: ['https://192.168.100.100:4200', 'https://localhost:4200'],
     credentials: true,
   });
 

BIN=BIN
tflite/best_float16.tflite


BIN=BIN
tflite/best_float32.tflite