[manual] Use api.zulip.com to access the Humbug API.
This needs to be deployed after the nginx configuration is deployed. (imported from commit 167a3d9d27595d40883bb400ebcc44c4ad9b6a2f)
This commit is contained in:
		
							parent
							
								
									d063efa8a0
								
							
						
					
					
						commit
						22e5a15bc4
					
				
					 10 changed files with 14 additions and 18 deletions
				
			
		|  | @ -94,8 +94,8 @@ class Client(object): | |||
|                 site = "https://" + site | ||||
|             self.base_url = site | ||||
|         else: | ||||
|             self.base_url = "https://api.humbughq.com" | ||||
|         if self.base_url != "https://api.humbughq.com" and not self.base_url.endswith("/api"): | ||||
|             self.base_url = "https://api.zulip.com" | ||||
|         if self.base_url != "https://api.zulip.com" and not self.base_url.endswith("/api"): | ||||
|             self.base_url += "/api" | ||||
|         if not self.base_url.endswith("/"): | ||||
|             self.base_url += "/" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tim Abbott
						Tim Abbott