mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Add import ref for TS
This commit is contained in:
@@ -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']);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user