Run linter

This commit is contained in:
Toast 2025-01-31 12:34:57 +01:00
parent b4eae5b0b3
commit defbf2cdbe
3 changed files with 4 additions and 4 deletions

View file

@ -6,12 +6,12 @@ async function bootstrap() {
const app = await NestFactory.create(AppModule);
const logger = new Logger('bootstrap');
let origin = ['https://shows.everest.tailscale/admin/'];
const origin = ['https://shows.everest.tailscale/admin/'];
if (process.env.NODE_ENV == 'production') {
logger.log('In production mode');
} else {
logger.log('In development mode');
origin.push("http://localhost:4200")
origin.push('http://localhost:4200');
}
app.enableCors({
credentials: true,