diff --git a/services/request/src/app/components/MovieList.vue b/services/request/src/app/components/MovieList.vue index 7354907..ea6cd05 100644 --- a/services/request/src/app/components/MovieList.vue +++ b/services/request/src/app/components/MovieList.vue @@ -1,8 +1,31 @@ diff --git a/services/request/src/app/components/MoviePoster.vue b/services/request/src/app/components/MoviePoster.vue index 7ac74a8..0c5a454 100644 --- a/services/request/src/app/components/MoviePoster.vue +++ b/services/request/src/app/components/MoviePoster.vue @@ -5,17 +5,28 @@ :src="`/api/tmdb/image/${size}${src}`" @load="onPosterLoad">
-
+ + + + + - diff --git a/services/request/src/app/views/Search.vue b/services/request/src/app/views/Search.vue index de6d6fc..991a00c 100644 --- a/services/request/src/app/views/Search.vue +++ b/services/request/src/app/views/Search.vue @@ -1,12 +1,15 @@ diff --git a/services/request/src/server/services/WebServer/routes/auth.ts b/services/request/src/server/services/WebServer/routes/auth.ts index d2bcd93..306508a 100644 --- a/services/request/src/server/services/WebServer/routes/auth.ts +++ b/services/request/src/server/services/WebServer/routes/auth.ts @@ -30,17 +30,18 @@ export default function register(factory: RouteRegisterFactory, app: Application } let body = { id: user.id, name: user.name, isAdmin: user.isAdmin }; let token = jwt.sign(body, app.APP_KEY, { expiresIn: 60*60*24 }); + // Below code requires SSH to store cookies securely // Store the header/payload in the client, store the signature in a secure httpOnly cookie - if ((request.query)["use_cookies"] || (request.query)["use_cookies"] === undefined) { - let [header, payload, signature] = token.split('.'); - token = `${header}.${payload}`; - reply.setCookie("jwt_signature", signature, { - path: '/', - httpOnly: true, - sameSite: true, - secure: true - }); - } + // if ((request.query)["use_cookies"] || (request.query)["use_cookies"] === undefined) { + // let [header, payload, signature] = token.split('.'); + // token = `${header}.${payload}`; + // reply.setCookie("jwt_signature", signature, { + // path: '/', + // httpOnly: true, + // sameSite: true, + // secure: true + // }); + // } reply.send({ status: "Success", token }); })); diff --git a/services/request/tailwind.config.js b/services/request/tailwind.config.js index 1ac9aaa..3aca667 100644 --- a/services/request/tailwind.config.js +++ b/services/request/tailwind.config.js @@ -5,8 +5,7 @@ module.exports = { extend: { colors: { ui: { - bg: "#191726", - fg: "#202332", + plexGray: "rgb(31, 35, 38)" } }, },