Docker updates
This commit is contained in:
parent
e556cdceba
commit
bef49705a4
8 changed files with 50 additions and 34 deletions
|
|
@ -10,7 +10,7 @@ export const ZammadWrapper: FC<ZammadWrapperProps> = ({
|
|||
url,
|
||||
hideSidebar = true,
|
||||
}) => {
|
||||
const [display, setDisplay] = useState("none");
|
||||
const [display, setDisplay] = useState("inherit");
|
||||
|
||||
return (
|
||||
<Iframe
|
||||
|
|
|
|||
|
|
@ -12,12 +12,16 @@ module.exports = {
|
|||
},
|
||||
];
|
||||
},
|
||||
rewrites: async () => ({
|
||||
fallback: [
|
||||
async rewrites() {
|
||||
return [
|
||||
{
|
||||
source: "/:path*",
|
||||
destination: "/zammad/:path*",
|
||||
source: "/zammad",
|
||||
destination: `http://link-shell-zammad-proxy-1:3000`,
|
||||
},
|
||||
],
|
||||
}),
|
||||
{
|
||||
source: "/zammad/:path*",
|
||||
destination: `http://link-shell-zammad-proxy-1:3000/:path*`,
|
||||
},
|
||||
];
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ const Home = () => (
|
|||
width: "100%",
|
||||
}}
|
||||
>
|
||||
<ZammadWrapper url="http://localhost:3000/zammad/#dashboard" />
|
||||
<ZammadWrapper url="https://8003-digiresilienc-linkshell-c2tqwgcccbs.ws-eu86.gitpod.io/zammad/#dashboard" />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Layout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue