agregamos redirect.ex y refactorizamos get_hash.ex en controller
This commit is contained in:
		
							
								
								
									
										25
									
								
								.env
									
									
									
									
									
								
							
							
						
						
									
										25
									
								
								.env
									
									
									
									
									
								
							| @ -1,20 +1,23 @@ | |||||||
| # Datos de compilación | # Datos de compilación | ||||||
| SECRET_KEY_BASE=GwWSI17GOehYsIBr8TLFaLmxA0N+qFpeycGz8naKy3IxEmxGbVQmr33LlzrwdT9j | SECRET_KEY_BASE=GwWSI17GOehYsIBr8TLFaLmxA0N+qFpeycGz8naKy3IxEmxGbVQmr33LlzrwdT9j | ||||||
| DATABASE_URL=ecto://postgres:1nf0rm3@127.0.0.1/dicomscp | DATABASE_URL=ecto://postgres:1nf0rm3@127.0.0.1/dicomscp | ||||||
| CHECK_ORIGIN=https://santaclara.informemedico.com.ar/ | CHECK_ORIGIN=https://estudios.nobissalud.com.ar | ||||||
| PHX_PORT=4000 | PHX_PORT=4001 | ||||||
| PHX_HOST=127.0.0.1 | PHX_HOST=127.0.0.1 | ||||||
| #PHX_HOST=pacientes.sdlc.com.ar | #PHX_HOST=pacientes.sdlc.com.ar | ||||||
| ROOT_PATH=/api | ROOT_PATH=/api | ||||||
| SCHEME=http | SCHEME=https | ||||||
|  | #si es true debe estar escrito siempre en mayuscula (por que llega como string no como boolean) | ||||||
|  | REDIRECT=TRUE | ||||||
|  |  | ||||||
| # Datos consultas | # Datos consultas | ||||||
| PYTHON_EXECUTABLE=/usr/local/bin/python3.5 | PYTHON_EXECUTABLE=/usr/local/bin/python3.9 | ||||||
| PYTHON_SCRIPT=/home/informemedico/cgi/soffice/generar_pdf_api.py | PYTHON_SCRIPT=/home/informemedico/impacs/cgi/soffice/generar_pdf_api.py | ||||||
| TEMPLATE_NAME=Con membrete | TEMPLATE_NAME=Con Membrete | ||||||
| pr2_statusname=FINAL | pr2_statusname=FINAL | ||||||
| IDSITE=237 | IDSITE=191 | ||||||
| ESCANEADOS=https://cedialcom.informemedico.com.ar:4443/cgi-bin/imageasjpeg.bf/imageasjpeg/ | #ESCANEADOS=https://cedialcom.informemedico.com.ar:4443/cgi-bin/imageasjpeg.bf/imageasjpeg/ | ||||||
|  | ESCANEADOS=https://estudios.nobissalud.com.ar/# | ||||||
| acceso_ed=IDSTUDY | acceso_ed=IDSTUDY | ||||||
| IDENTIFIERFIELD=IDSTUDY | IDENTIFIERFIELD=IDSTUDY | ||||||
|  |  | ||||||
| @ -24,9 +27,9 @@ IDENTIFIERFIELD=IDSTUDY | |||||||
| #SMTP_RELAY=mail.ciem.com.ar | #SMTP_RELAY=mail.ciem.com.ar | ||||||
| #EMAIL_BODY_PATH=htmlbody | #EMAIL_BODY_PATH=htmlbody | ||||||
| #SERVER_NAME_INDICATION=mail.ciem.com.ar | #SERVER_NAME_INDICATION=mail.ciem.com.ar | ||||||
| #FROM=GEA | FROM=Nobis | ||||||
|  |  | ||||||
| # Imagenes | # Imagenes | ||||||
| LOGO=http://santaclara.informemedico.com.ar:8080/cgi-bin/impacs.bf/get_logo | LOGO=https://estudio.informemedico.com.ar/logos/nobissalud.png | ||||||
| LOGO_SM=https://estudio.informemedico.com.ar/logos/santaclara_chico.png | LOGO_SM=https://estudio.informemedico.com.ar/logos/nobissalud.png | ||||||
|  |  | ||||||
|  | |||||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										0
									
								
								_build/dev/lib/api/.mix/compile.lock
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								_build/dev/lib/api/.mix/compile.lock
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								_build/dev/lib/api/ebin/Elixir.ApiWeb.Redirect.beam
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_build/dev/lib/api/ebin/Elixir.ApiWeb.Redirect.beam
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							| @ -18,7 +18,8 @@ | |||||||
|                         'Elixir.ApiWeb.GetHash','Elixir.ApiWeb.Gettext', |                         'Elixir.ApiWeb.GetHash','Elixir.ApiWeb.Gettext', | ||||||
|                         'Elixir.ApiWeb.IndexLive','Elixir.ApiWeb.Layouts', |                         'Elixir.ApiWeb.IndexLive','Elixir.ApiWeb.Layouts', | ||||||
|                         'Elixir.ApiWeb.PageController', |                         'Elixir.ApiWeb.PageController', | ||||||
|                         'Elixir.ApiWeb.PageHTML','Elixir.ApiWeb.Router', |                         'Elixir.ApiWeb.PageHTML','Elixir.ApiWeb.Redirect', | ||||||
|  |                         'Elixir.ApiWeb.Router', | ||||||
|                         'Elixir.ApiWeb.ShareController', |                         'Elixir.ApiWeb.ShareController', | ||||||
|                         'Elixir.ApiWeb.StudiesController', |                         'Elixir.ApiWeb.StudiesController', | ||||||
|                         'Elixir.ApiWeb.StudiesJSON', |                         'Elixir.ApiWeb.StudiesJSON', | ||||||
| @ -36,7 +37,8 @@ | |||||||
|                              telemetry_poller,gettext,jason,plug_cowboy, |                              telemetry_poller,gettext,jason,plug_cowboy, | ||||||
|                              poison,corsica,logger_file_backend,tmp,gen_smtp, |                              poison,corsica,logger_file_backend,tmp,gen_smtp, | ||||||
|                              email_checker,envar,solid,dns_cluster,luminous, |                              email_checker,envar,solid,dns_cluster,luminous, | ||||||
|                              live_monaco_editor,ex_heroicons,castore,dotenv]}, |                              live_monaco_editor,ex_heroicons,castore,dotenv, | ||||||
|  |                              httpoison]}, | ||||||
|               {description,"api"}, |               {description,"api"}, | ||||||
|               {registered,[]}, |               {registered,[]}, | ||||||
|               {vsn,"0.1.0"}, |               {vsn,"0.1.0"}, | ||||||
|  | |||||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user