Add import ref for TS

This commit is contained in:
rijkvanzanten
2021-08-10 15:23:06 -04:00
parent 61b5080956
commit a31523aed1
2 changed files with 2 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ import { validateStorage } from './utils/validate-storage';
import { register as registerWebhooks } from './webhooks';
import { session } from './middleware/session';
import { flushCaches } from './cache';
import { URL } from 'url';
export default async function createApp(): Promise<express.Application> {
validateEnv(['KEY', 'SECRET']);

View File

@@ -1,5 +1,6 @@
import { toArray } from '@directus/shared/utils';
import logger from '../logger';
import { URL } from 'url';
/**
* Check if url matches allow list either exactly or by domain+path