Fix .env.example

This commit is contained in:
Zoe Roux 2022-12-02 00:38:56 +09:00
parent c9d977916b
commit f4e734a17f
No known key found for this signature in database
GPG Key ID: B2AB52A2636E5C46
4 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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)({});

View File

@ -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")}>

View File

@ -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 () => {