mirror of
				https://github.com/binwiederhier/ntfy.git
				synced 2025-10-31 13:02:24 +01:00 
			
		
		
		
	
						commit
						043738a475
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -593,6 +593,7 @@ func (s *Server) handleWebConfig(w http.ResponseWriter, _ *http.Request, _ *visi | |||
| 		return err | ||||
| 	} | ||||
| 	w.Header().Set("Content-Type", "text/javascript") | ||||
| 	w.Header().Set("Cache-Control", "no-cache") | ||||
| 	_, err = io.WriteString(w, fmt.Sprintf("// Generated server configuration\nvar config = %s;\n", string(b))) | ||||
| 	return err | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Philipp C. Heckel
						Philipp C. Heckel