mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
remove unused code
This commit is contained in:
parent
3d85a3cfcd
commit
fcc1af7a93
1 changed files with 0 additions and 62 deletions
|
@ -175,68 +175,6 @@ export default defineNuxtConfig({
|
|||
subsets: ["cyrillic-ext", "cyrillic", "greek-ext", "greek", "vietnamese", "latin-ext", "latin"],
|
||||
},
|
||||
},
|
||||
/* auth: {
|
||||
redirect: {
|
||||
login: "/login",
|
||||
logout: "/login",
|
||||
callback: "/login",
|
||||
home: "/",
|
||||
},
|
||||
cookie: {
|
||||
prefix: "mealie.auth.",
|
||||
options: {
|
||||
expires: 7,
|
||||
path: "/",
|
||||
},
|
||||
},
|
||||
rewriteRedirects: false,
|
||||
// Options
|
||||
strategies: {
|
||||
local: {
|
||||
resetOnError: true,
|
||||
token: {
|
||||
property: "access_token",
|
||||
global: true,
|
||||
// required: true,
|
||||
// type: 'Bearer'
|
||||
},
|
||||
user: {
|
||||
property: "",
|
||||
autoFetch: true,
|
||||
},
|
||||
endpoints: {
|
||||
login: {
|
||||
url: "api/auth/token",
|
||||
method: "post",
|
||||
propertyName: "access_token",
|
||||
},
|
||||
refresh: { url: "api/auth/refresh", method: "post" },
|
||||
logout: { url: "api/auth/logout", method: "post" },
|
||||
user: { url: "api/users/self", method: "get" },
|
||||
},
|
||||
},
|
||||
oidc: {
|
||||
scheme: "local",
|
||||
resetOnError: true,
|
||||
token: {
|
||||
property: "access_token",
|
||||
global: true,
|
||||
},
|
||||
user: {
|
||||
property: "",
|
||||
autoFetch: true,
|
||||
},
|
||||
endpoints: {
|
||||
login: {
|
||||
url: "api/auth/oauth/callback",
|
||||
method: "get",
|
||||
},
|
||||
logout: { url: "api/auth/logout", method: "post" },
|
||||
user: { url: "api/users/self", method: "get" },
|
||||
},
|
||||
},
|
||||
},
|
||||
}, */
|
||||
|
||||
i18n: {
|
||||
locales: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue