mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	[fix] morty: PUBLIC_URL_PATH_MORTY needs trailing slash
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
		
							parent
							
								
									f693149cde
								
							
						
					
					
						commit
						44edc92569
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -41,7 +41,7 @@ fi | ||||||
| 
 | 
 | ||||||
| # morty listen address | # morty listen address | ||||||
| # MORTY_LISTEN="127.0.0.1:3000" | # MORTY_LISTEN="127.0.0.1:3000" | ||||||
| # PUBLIC_URL_PATH_MORTY="/morty" | # PUBLIC_URL_PATH_MORTY="/morty/" | ||||||
| 
 | 
 | ||||||
| # system services | # system services | ||||||
| # --------------- | # --------------- | ||||||
|  |  | ||||||
|  | @ -15,7 +15,7 @@ in_container && lxc_set_suite_env | ||||||
| # ---------------------------------------------------------------------------- | # ---------------------------------------------------------------------------- | ||||||
| 
 | 
 | ||||||
| MORTY_LISTEN="${MORTY_LISTEN:-127.0.0.1:3000}" | MORTY_LISTEN="${MORTY_LISTEN:-127.0.0.1:3000}" | ||||||
| PUBLIC_URL_PATH_MORTY="${PUBLIC_URL_PATH_MORTY:-/morty}" | PUBLIC_URL_PATH_MORTY="${PUBLIC_URL_PATH_MORTY:-/morty/}" | ||||||
| 
 | 
 | ||||||
| SEARX_URL="${PUBLIC_URL:-http://$(uname -n)/searx}" | SEARX_URL="${PUBLIC_URL:-http://$(uname -n)/searx}" | ||||||
| PUBLIC_URL_MORTY="$(echo "$SEARX_URL" |  sed -e's,^\(.*://[^/]*\).*,\1,g')${PUBLIC_URL_PATH_MORTY}" | PUBLIC_URL_MORTY="$(echo "$SEARX_URL" |  sed -e's,^\(.*://[^/]*\).*,\1,g')${PUBLIC_URL_PATH_MORTY}" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Markus Heiser
						Markus Heiser