Skip to content

Commit

Permalink
added cors export
Browse files Browse the repository at this point in the history
  • Loading branch information
xeaone committed Jun 21, 2022
1 parent 90d69e0 commit 564758a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Context from './context.ts';
import Handler from './handler.ts';
import Session from './session.ts';
import Router from './router.ts';
import Cors from './cors.ts';
import File from './file.ts';

import { serve as Server } from './deps.ts';
Expand All @@ -22,6 +23,7 @@ export {
Router,
Handle,
Plugin,
Cors,
File,

Normalize as normalize,
Expand All @@ -33,6 +35,7 @@ export {
Router as router,
Handle as handle,
Plugin as plugin,
Cors as cors,
File as file,

};
Expand All @@ -48,6 +51,7 @@ export default {
Router,
Handle,
Plugin,
Cors,
File,

normalize: Normalize,
Expand All @@ -59,6 +63,7 @@ export default {
router: Router,
handle: Handle,
plugin: Plugin,
cors: Cors,
file: File

} as const;

0 comments on commit 564758a

Please sign in to comment.