Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

Commit

Permalink
Cors plugin model for issue #12.
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Ramos committed Sep 15, 2016
1 parent ddd6ae8 commit bf50e05
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/app/shared/models/plugins/cors.model.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { BaseModel } from '../base.model';

export class CorsModelConfig extends BaseModel {
name: string;
origin: string;
methods: string;
headers: string;
/* tslint:disable */
exposed_headers: string;
max_age: number;
preflight_continue: boolean;
/* tslint:enable */
credentials: boolean;
}
1 change: 1 addition & 0 deletions src/app/shared/models/plugins/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ export * from './hmac.model';
export * from './jwt.model';
export * from './ldap.model';
export * from './acl.model';
export * from './cors.model';

0 comments on commit bf50e05

Please sign in to comment.