add some debug code
This commit is contained in:
		
							parent
							
								
									a8dd860711
								
							
						
					
					
						commit
						1160727b62
					
				@ -84,6 +84,7 @@ func (app *application) siteEntryCreate(w http.ResponseWriter, r *http.Request)
 | 
			
		||||
func (app *application) nextSiteEntry(w http.ResponseWriter, r *http.Request) {
 | 
			
		||||
    ref := app.cleanUrl(r.Referer())
 | 
			
		||||
    refSite, err := app.siteEntries.GetByUrl(ref)
 | 
			
		||||
    app.infoLog.Printf("REFERER %s\n", ref)
 | 
			
		||||
    if err != nil {
 | 
			
		||||
        app.serverError(w, err)
 | 
			
		||||
        return
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user