src/main/java/ca/sfu/delta/Application.java
@Bean
    public EmbeddedServletContainerCustomizer containerCustomizer() {
	    return (container -> {
	        ErrorPage error404Page = new ErrorPage(HttpStatus.NOT_FOUND, "/404.html");
	        container.addErrorPages(error404Page);
        });
    }
/* COMMENT OUT THIS FOR DEBUGGING (SHOW WHITELABEL PAGES) */
COMMENT OUT THIS FOR DEBUGGING (SHOW WHITELABEL PAGES)
COMMENT OUT THIS FOR DEBUGGING ( SHOW WHITELABEL PAGES )
@Bean
    public EmbeddedServletContainerCustomizer containerCustomizer() {
	    return (container -> {
	        ErrorPage error404Page = new ErrorPage(HttpStatus.NOT_FOUND, "/404.html");
	        container.addErrorPages(error404Page);
        });
    }
@ Bean public EmbeddedServletContainerCustomizer containerCustomizer ( ) { return ( container -> { ErrorPage error404Page = new ErrorPage ( HttpStatus . NOT_FOUND , "/404.html" ) ; container . addErrorPages ( error404Page ) ; } ) ; }
COMMENT OUT THIS FOR DEBUGGING (SHOW WHITELABEL PAGES)
COMMENT OUT THIS FOR DEBUGGING ( SHOW WHITELABEL PAGES )