mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Login/logout process.
This commit is contained in:
parent
0f0b1e39e7
commit
f947c7770b
10 changed files with 91 additions and 58 deletions
|
|
@ -12,9 +12,4 @@ export function use(middleware) {
|
|||
});
|
||||
}
|
||||
|
||||
export const allowPost = use(
|
||||
cors({
|
||||
origin: '*',
|
||||
methods: ['POST', 'OPTIONS'],
|
||||
}),
|
||||
);
|
||||
export const useCors = use(cors());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue