Run linter
This commit is contained in:
parent
b4eae5b0b3
commit
defbf2cdbe
3 changed files with 4 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue