diff --git a/src/app/components/MovieList.vue b/src/app/components/MovieList.vue
index 7354907..ea6cd05 100644
--- a/src/app/components/MovieList.vue
+++ b/src/app/components/MovieList.vue
@@ -1,8 +1,31 @@
-
- -
-
+
+ -
+
+
+
+
{{ movie.title }}
+ {{ movie.releaseDate.slice(0, 4) }}
+
+
+

+
+
+
+
+
+
+ 100%
+ {{ 50 }}%
+
+
+
diff --git a/src/app/components/MoviePoster.vue b/src/app/components/MoviePoster.vue
index 7ac74a8..0c5a454 100644
--- a/src/app/components/MoviePoster.vue
+++ b/src/app/components/MoviePoster.vue
@@ -5,17 +5,28 @@
:src="`/api/tmdb/image/${size}${src}`" @load="onPosterLoad">
+
+
+
+
+
-
diff --git a/src/app/views/Search.vue b/src/app/views/Search.vue
index de6d6fc..991a00c 100644
--- a/src/app/views/Search.vue
+++ b/src/app/views/Search.vue
@@ -1,12 +1,15 @@
-
-
+
+
+
{{ movies.length }} result{{ movies.length != 1 ? 's' : ""}} found
+
+
diff --git a/src/server/services/WebServer/routes/auth.ts b/src/server/services/WebServer/routes/auth.ts
index d2bcd93..306508a 100644
--- a/src/server/services/WebServer/routes/auth.ts
+++ b/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/tailwind.config.js b/tailwind.config.js
index 1ac9aaa..3aca667 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -5,8 +5,7 @@ module.exports = {
extend: {
colors: {
ui: {
- bg: "#191726",
- fg: "#202332",
+ plexGray: "rgb(31, 35, 38)"
}
},
},