Ahmed Elabbasy
Ahmed Elabbasy
just add this line's in `RequireAuth.js` `constructor` before `this.checkAuth();` ``` if (this.props.history.location.pathname === "/login") { this.props.history.push("/"); } ```
I don't want to open a new issue but I'm tired to deploy on heroku with docker-compose.yml can help ? @pplonski
In case you want a solution now There are two ways 1- add render prop to Route and redirect user to` " / " ` if isAuth return True otherwise...
Same here and sometimes ```shell Task exception was never retrieved future: Traceback (most recent call last): File "/home/elabbasy/Desktop/BOT_TOOL/webserver/server/venv/lib/python3.10/site-packages/redis/asyncio/connection.py", line 831, in disconnect await self._writer.wait_closed() # type: ignore[union-attr] File "/usr/lib/python3.10/asyncio/streams.py", line...
```shell asgiref==3.5.2 channels==4.0.0 channels-redis==4.0.0 daphne==4.0.0 ``` **views.py** ```python # passing request.data to serializer if serializer.is_valid(): serializer.save(interpreter=request.user) channel_layer = get_channel_layer() async_to_sync(channel_layer.group_send)( "admins", {"type": "chat_message", 'message': {"command": "admin_new_ticket","ticket": serializer.data}}) return Response(serializer.data, status=status.HTTP_200_OK)...
as a workaround Downgrades `channels-redis` to `3.4.1`, this work for me
adding `declare module '*.mp3' { const content: string; export default content; }` to assets.d.ts and ` { test: /\.(png|jpg|jpeg|gif|mp3)$/i, type: 'asset/resource', },` in both render related webpack ` solve the...
Create the components.json manually ```json { "$schema": "https://ui.shadcn.com/schema.json", "style": "default", "rsc": false, "tsx": true, "tailwind": { "config": "tailwind.config.js", "css": "src/renderer/App.css", "baseColor": "slate", "cssVariables": true, "prefix": "" }, "aliases": { "components":...