R/HTTPGET.FRONTPAGE.R

Defines functions HTTPGET.FRONTPAGE

HTTPGET.FRONTPAGE <- function(){
	#check if the template is available:
	stopifnot(file.exists(system.file("templates/frontpage.html", package="opencpu.server")));
	
	#return template
	return(list(
		filename=system.file("templates/frontpage.html", package="opencpu.server"), 
		type="text/html"
	));
}
jeroenooms/opencpu-legacy documentation built on May 19, 2019, 6:15 a.m.