se muestra compilacion de frontend

francisco/prueba1
Francisco Sandoval 2023-06-13 10:27:15 -04:00
parent d860dad7ea
commit 836a81b81e
6 changed files with 12 additions and 12 deletions

View File

@ -72,7 +72,7 @@ class AuthViewSet(viewsets.ViewSet):
return Response(data = None, content_type = 'application/json') return Response(data = None, content_type = 'application/json')
try: try:
decode = jwt.decode(token, private_key, algorithms= ["HS256"]) decode = jwt.decode(token, private_key, algorithms= ["HS256"])
except jwt.ExpiredSignature: except jwt.ExpiredSignatureError:
raise JWTExpired raise JWTExpired
user = User.objects.filter(id = decode.get('user_id')).values().first() user = User.objects.filter(id = decode.get('user_id')).values().first()

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
.navbar ul{list-style-type:none;margin:0;padding:0;overflow:hidden;background-color:#333}.navbar li{float:left}.navbar li a{display:block;color:#fff;text-align:center;padding:14px 16px;text-decoration:none}.navbar li a:hover{background-color:#111}

View File

@ -0,0 +1 @@
.navbar ul{list-style-type:none;margin:0;padding:0;overflow:hidden;background-color:#333}.navbar li{float:left}.navbar li a{display:block;color:#fff;text-align:center;padding:14px 16px;text-decoration:none}.navbar li a:hover{background-color:#111}.navbar li.active a{background-color:#0ff;color:#000}.navbar .canasta{background-color:#fff;padding:5px 16px;color:#4682b4;border:1px solid black}.login{width:700px;max-width:100%;margin:auto;border:1px #ddd solid;padding:2rem}.login .field{margin-bottom:1rem}.login .field input{width:100%}.login input,.login button{min-height:2rem}.login .message{color:orange}

File diff suppressed because one or more lines are too long

View File

@ -5,8 +5,8 @@
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> <link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Capacitacion de svelte</title> <title>Capacitacion de svelte</title>
<script type="module" crossorigin src="/assets/index-0c98eb67.js"></script> <script type="module" crossorigin src="/assets/index-c72321f9.js"></script>
<link rel="stylesheet" href="/assets/index-782abf0e.css"> <link rel="stylesheet" href="/assets/index-85b3eae6.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>