mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Fix .env.example
This commit is contained in:
parent
c9d977916b
commit
f4e734a17f
@ -5,3 +5,4 @@ POSTGRES_USER=kyoousername
|
|||||||
POSTGRES_PASSWORD=kyoopassword
|
POSTGRES_PASSWORD=kyoopassword
|
||||||
POSTGRES_DB=kyooDB
|
POSTGRES_DB=kyooDB
|
||||||
CAST_APPLICATION_ID=
|
CAST_APPLICATION_ID=
|
||||||
|
PUBLIC_BACK_URL=http://192.168.0.1:8901
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
import { styled } from "@mui/material";
|
import { styled } from "@mui/material";
|
||||||
import { ComponentProps, forwardRef } from "react";
|
import { ComponentProps, forwardRef } from "react";
|
||||||
|
|
||||||
|
|
||||||
type CastProps = { class?: string };
|
type CastProps = { class?: string };
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
@ -32,7 +31,10 @@ declare global {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export const _CastButton = forwardRef<HTMLDivElement, ComponentProps<"div">>(function Cast({className, ...props}, ref) {
|
export const _CastButton = forwardRef<HTMLDivElement, ComponentProps<"div">>(function Cast(
|
||||||
|
{ className, ...props },
|
||||||
|
ref,
|
||||||
|
) {
|
||||||
return <google-cast-launcher ref={ref} class={className} {...props} />;
|
return <google-cast-launcher ref={ref} class={className} {...props} />;
|
||||||
});
|
});
|
||||||
export const CastButton = styled(_CastButton)({});
|
export const CastButton = styled(_CastButton)({});
|
||||||
|
@ -45,7 +45,7 @@ export const CastRemote = () => {
|
|||||||
<Poster img={poster} alt="" width={"60%"} />
|
<Poster img={poster} alt="" width={"60%"} />
|
||||||
<Typography variant="h1">{name}</Typography>
|
<Typography variant="h1">{name}</Typography>
|
||||||
{episodeName && <Typography variant="h2">{episodeName}</Typography>}
|
{episodeName && <Typography variant="h2">{episodeName}</Typography>}
|
||||||
<ProgressBar />
|
{/* <ProgressBar /> */}
|
||||||
<Box sx={{ display: "flex" }}>
|
<Box sx={{ display: "flex" }}>
|
||||||
{previousSlug && (
|
{previousSlug && (
|
||||||
<Tooltip title={t("previous")}>
|
<Tooltip title={t("previous")}>
|
||||||
|
@ -106,7 +106,6 @@ const Player: QueryPage<{ slug: string }> = ({ slug }) => {
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
setStopCallback([ () => {
|
setStopCallback([ () => {
|
||||||
console.log("toto")
|
|
||||||
router.push(data ? (data.isMovie ? `/movie/${data.slug}` : `/show/${data.showSlug}`) : "/");
|
router.push(data ? (data.isMovie ? `/movie/${data.slug}` : `/show/${data.showSlug}`) : "/");
|
||||||
}]);
|
}]);
|
||||||
return () => {
|
return () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user